Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-06-30 12:43:05 +0300
committerJulius Härtl <jus@bitgrid.net>2021-07-14 15:54:44 +0300
commitf1a0c2ba0d025afb8272ccbcda21f2a4315a9306 (patch)
tree7e0b9eb382608da7bb996b744656d8744b8ea029 /webpack.js
parentab11643a5234ff3ff8e4b3f2034bfb0721f30a9d (diff)
Resolve local node_modules first
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.js')
-rw-r--r--webpack.js5
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