You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
externalsPresets: { node:true }, // in order to ignore built-in modules like path, fs, etc.
41
+
externals: [nodeExternals()], // in order to ignore all modules in node_modules folder
42
+
...
43
+
};
44
+
```
45
+
32
46
## Detailed overview
33
47
### Description
34
48
This library scans the `node_modules` folder for all node_modules names, and builds an *externals* function that tells Webpack not to bundle those modules, or any sub-modules of theirs.
0 commit comments