From 67079dd4685e9e175ebb57a66775e7eb8ccf7e1e Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Sun, 7 Feb 2021 01:20:01 +0700 Subject: [PATCH] Remove modules in resolve webpack --- packages/plugin/webpack/src/WebpackConfig.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/plugin/webpack/src/WebpackConfig.ts b/packages/plugin/webpack/src/WebpackConfig.ts index c512e9cb14..6bc6be3f55 100644 --- a/packages/plugin/webpack/src/WebpackConfig.ts +++ b/packages/plugin/webpack/src/WebpackConfig.ts @@ -148,13 +148,6 @@ export default class WebpackConfigGenerator { __dirname: false, __filename: false, }, - resolve: { - modules: [ - path.resolve(path.dirname(this.webpackDir), './'), - path.resolve(path.dirname(this.webpackDir), 'node_modules'), - path.resolve(__dirname, '..', 'node_modules'), - ], - }, }, mainConfig || {}); }