Skip to content

Commit efff472

Browse files
committedApr 18, 2018
feat: enable source map in build error traces
1 parent f052472 commit efff472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/webpack/createServerConfig.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = function createServerConfig (options, cliOptions) {
1212
config
1313
.target('node')
1414
.externals([/^vue|vue-router$/])
15+
.devtool('source-map')
1516

1617
// no need to minimize server build
1718
config.optimization.minimize(false)

0 commit comments

Comments
 (0)