mirror of https://github.com/apache/superset.git
fix(build): update webpack jsx paths (#18685)
This commit is contained in:
parent
35684c54b3
commit
09141d2a8f
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue