diff options
author | bobzel <zzzman@gmail.com> | 2023-12-10 20:19:27 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-10 20:19:27 -0500 |
commit | 380ee1acac1c0b7972d7d423cf804af146dc0edf (patch) | |
tree | 1d77244a600e6eb1fb6d56356b3ce01ca6add89d /webpack.config.js | |
parent | b7b7105fac83ec11480204c5c7ac0ae6579774e1 (diff) |
massive changes to use mobx 6 which means not accessing props directly in @computed functions.
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 2085c297c..57dfd222b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ module.exports = { publicPath: '/', }, resolve: { - extensions: ['.js', '.ts', '.tsx'], + extensions: ['.js', '.jsx', '.ts', '.tsx'], fallback: { fs: false, tls: false, @@ -92,6 +92,11 @@ module.exports = { ], }, { + test: /\.jsx$/, + use: { loader: 'babel-loader' }, + exclude: [/node_modules/, /public/], + }, + { test: /\.m?js/, resolve: { fullySpecified: false, |