mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: youch with source-map in default dev case
This commit is contained in:
parent
b86426aaa0
commit
72e2351719
@ -23,7 +23,7 @@ export default function webpackServerConfig() {
|
||||
config = Object.assign(config, {
|
||||
target: 'node',
|
||||
node: false,
|
||||
devtool: this.options.dev ? config.devtool : 'source-map',
|
||||
devtool: 'source-map',
|
||||
entry: resolve(this.options.buildDir, 'server.js'),
|
||||
output: Object.assign({}, config.output, {
|
||||
filename: 'server-bundle.js',
|
||||
|
Loading…
Reference in New Issue
Block a user