Skip to content

Commit 0abbfdd

Browse files
committed
Disable modules in resolve config
1 parent b319451 commit 0abbfdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ module.exports = (env, argv) => {
383383
}))
384384
: []),
385385
),
386-
modules: [path.join(workspacePath, 'node_modules')],
387386
// Disable unsafeCache as it causes incorrectly resolved packages when using d3 aliases for example. I.e. adding d3v5 will potentionally hoist d3-array in a conflicting version with d3v3, however the aggressive caching will not notice this difference.
388387
// See https://webpack.js.org/configuration/resolve/#resolveunsafecache for details.
388+
// modules: [path.join(workspacePath, 'node_modules')],
389389
unsafeCache: false,
390390
cacheWithContext: false,
391391
fallback: {

0 commit comments

Comments
 (0)