diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-06-30 12:43:05 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-07-14 15:54:44 +0300 |
commit | f1a0c2ba0d025afb8272ccbcda21f2a4315a9306 (patch) | |
tree | 7e0b9eb382608da7bb996b744656d8744b8ea029 /webpack.js | |
parent | ab11643a5234ff3ff8e4b3f2034bfb0721f30a9d (diff) |
Resolve local node_modules first
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.js')
-rw-r--r-- | webpack.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webpack.js b/webpack.js index 0444d4018..0195ed04a 100644 --- a/webpack.js +++ b/webpack.js @@ -22,4 +22,9 @@ webpackConfig.optimization.splitChunks.cacheGroups = { } } +webpackConfig.resolve.modules = [ + path.resolve(__dirname, 'node_modules'), + 'node_modules' +] + module.exports = webpackConfig |