From 09141d2a8f8cb0096c9ff9d079786f056fb4de8c Mon Sep 17 00:00:00 2001 From: anoojkinaginlsn <96495874+anoojkinaginlsn@users.noreply.github.com> Date: Fri, 11 Feb 2022 17:28:00 -0500 Subject: [PATCH] fix(build): update webpack jsx paths (#18685) --- superset-frontend/webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 4c1aeff535..959e288802 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -340,6 +340,9 @@ const config = { exclude: [/superset-ui.*\/node_modules\//, /\.test.jsx?$/], include: [ new RegExp(`${APP_DIR}/(src|.storybook|plugins|packages)`), + ...['./src', './.storybook', './plugins', './packages'].map(p => + path.resolve(__dirname, p), + ), // redundant but required for windows /@encodable/, ], use: [babelLoader],