diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 4c1aeff53557..959e2888021f 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],