From 380ee1acac1c0b7972d7d423cf804af146dc0edf Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 10 Dec 2023 20:19:27 -0500 Subject: massive changes to use mobx 6 which means not accessing props directly in @computed functions. --- webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'webpack.config.js') 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, @@ -91,6 +91,11 @@ module.exports = { }, ], }, + { + test: /\.jsx$/, + use: { loader: 'babel-loader' }, + exclude: [/node_modules/, /public/], + }, { test: /\.m?js/, resolve: { -- cgit v1.2.3-70-g09d2