Skip to content

Commit

Permalink
fix(plugin-webpack): don't specify resolve.modules by default (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat authored Aug 6, 2021
1 parent fe7d728 commit 4a992b7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/plugin/webpack/src/WebpackConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {});
}

Expand Down

0 comments on commit 4a992b7

Please sign in to comment.