diff --git a/lib/webpack/createServerConfig.js b/lib/webpack/createServerConfig.js index 2c972c5153..e9f098354b 100644 --- a/lib/webpack/createServerConfig.js +++ b/lib/webpack/createServerConfig.js @@ -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)