fix(build): update webpack jsx paths (#18685)

This commit is contained in:
anoojkinaginlsn 2022-02-11 17:28:00 -05:00 committed by GitHub
parent 35684c54b3
commit 09141d2a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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],