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 || {}); }