From 03d0716188d4328d4cef82132afff2886bc3f6bc 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 aafd988bbe..535977bd8b 100644 --- a/packages/plugin/webpack/src/WebpackConfig.ts +++ b/packages/plugin/webpack/src/WebpackConfig.ts @@ -156,13 +156,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 || {}); }