diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 440812b6e6cd5..2a5f89e5040d1 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -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, @@ -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 => {