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>2019-10-08 22:35:47 +0300
committerJulius Härtl <jus@bitgrid.net>2019-10-08 22:35:47 +0300
commitfbe38e088a5a7e9f9ceadde74667933d903e566a (patch)
tree8727a6c1dda1bd0b5984e300717651c778f3e73d /webpack.common.js
parent7621a192a2b6b6c7364aa4527311bb25ee893a50 (diff)
Prefer parent node modules over shipped ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 8c6a041de..898c026ad 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -65,7 +65,11 @@ module.exports = {
alias: {
vue$: 'vue/dist/vue.esm.js'
},
- extensions: ['*', '.js', '.vue', '.json']
+ extensions: ['*', '.js', '.vue', '.json'],
+ modules: [
+ path.resolve(__dirname, 'node_modules'),
+ 'node_modules'
+ ]
},
optimization: {
splitChunks: {