Skip to content

Commit

Permalink
fix(build): update webpack jsx paths (#18685)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoojkinaginlsn committed Feb 11, 2022
1 parent 35684c5 commit 09141d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset-frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 09141d2

Please sign in to comment.