Skip to content

Commit

Permalink
fix(build): make npm linking work pt. 2 (#16958)
Browse files Browse the repository at this point in the history
* fix(build): make npm linking work pt. 2

* remove explicit symlinks conf
  • Loading branch information
villebro authored Oct 4, 2021
1 parent 3f0756f commit 739d841
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset-frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ const config = {
APP_DIR,
'./node_modules/@superset-ui/chart-controls',
),
react: path.resolve('./node_modules/react'),
},
extensions: ['.ts', '.tsx', '.js', '.jsx', '.yml'],
symlinks: false,
fallback: {
fs: false,
vm: false,
Expand Down Expand Up @@ -455,7 +455,6 @@ if (isDevMode) {
},
static: path.join(process.cwd(), '../static/assets'),
};
config.watchOptions = { followSymlinks: true };

// make sure to use @emotion/* modules in the root directory
fs.readdirSync(path.resolve(APP_DIR, './node_modules/@emotion'), pkg => {
Expand Down

0 comments on commit 739d841

Please sign in to comment.