Skip to content

Commit ffe5db5

Browse files
authored
Merge pull request #432 from nextcloud/fix/noid/alias-vue
2 parents 7e6ce77 + 4c28f16 commit ffe5db5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpack.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,11 @@ module.exports = {
118118
resolve: {
119119
extensions: ['*', '.ts', '.js', '.vue'],
120120
symlinks: false,
121+
// Ensure npm does not duplicate vue dependency, and that npm link works for vue 3
122+
// See https://github.com/vuejs/core/issues/1503
123+
// See https://github.com/nextcloud/nextcloud-vue/issues/3281
124+
alias: {
125+
'vue$': path.resolve('./node_modules/vue')
126+
},
121127
},
122128
}

0 commit comments

Comments
 (0)