mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 10:27:15 +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, {
|
config = Object.assign(config, {
|
||||||
target: 'node',
|
target: 'node',
|
||||||
node: false,
|
node: false,
|
||||||
devtool: this.options.dev ? config.devtool : 'source-map',
|
devtool: 'source-map',
|
||||||
entry: resolve(this.options.buildDir, 'server.js'),
|
entry: resolve(this.options.buildDir, 'server.js'),
|
||||||
output: Object.assign({}, config.output, {
|
output: Object.assign({}, config.output, {
|
||||||
filename: 'server-bundle.js',
|
filename: 'server-bundle.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user