Skip to content

Commit

Permalink
Add necessary configuration for npm link
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Apr 13, 2022
1 parent 072186b commit a6b0480
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,10 @@ module.exports = {
resolve: {
extensions: ['*', '.js', '.vue'],
symlinks: false,
// Ensure npm link works for vue 3 and does not duplicate vue dependency
// See https://github.com/vuejs/core/issues/1503
alias: {
'vue$': path.resolve('./node_modules/vue')
},
},
}

0 comments on commit a6b0480

Please sign in to comment.