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:
Ville Brofeldt 2021-10-04 18:47:07 +02:00 committed by GitHub
parent 3f0756f637
commit 739d8418a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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 => {