Skip to content

Commit

Permalink
fix($core): webpack externals (ref: #451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Apr 13, 2019
1 parent 23b0ce3 commit fb324d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function createServerConfig (ctx) {

config
.target('node')
.externals([/^vue|vue-router$/])
.externals([/^(vue|vue-router)$/])
.devtool('source-map')

// no need to minimize server build
Expand Down

0 comments on commit fb324d5

Please sign in to comment.