Skip to content

Commit

Permalink
feat: enable source map in build error traces
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 18, 2018
1 parent f052472 commit efff472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/webpack/createServerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = function createServerConfig (options, cliOptions) {
config
.target('node')
.externals([/^vue|vue-router$/])
.devtool('source-map')

// no need to minimize server build
config.optimization.minimize(false)
Expand Down

0 comments on commit efff472

Please sign in to comment.