Skip to content

Commit

Permalink
fix($core): unexpected webpack externals (close: #451) (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist authored and ulivz committed Apr 13, 2019
1 parent 09f5346 commit aaf4a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webpack/createServerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function createServerConfig (options, cliOptions) {

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 aaf4a7b

Please sign in to comment.