fix(build): make npm linking work pt. 2 (#16958)
* fix(build): make npm linking work pt. 2 * remove explicit symlinks conf
This commit is contained in:
parent
3f0756f637
commit
739d8418a7
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue