admin: separate sourcemaps for production build
This commit is contained in:
parent
17da8c15d8
commit
0c94c11bd5
|
@ -18,7 +18,7 @@ module.exports = {
|
|||
publicPath: '/',
|
||||
chunkFilename: isDev ? '[name].chunk.js' : '[name].[chunkhash:8].chunk.js',
|
||||
},
|
||||
devtool: 'inline-source-map',
|
||||
devtool: isDev ? 'inline-source-map' : 'source-map',
|
||||
devServer: {
|
||||
port: 3500,
|
||||
contentBase: './build',
|
||||
|
|
Loading…
Reference in New Issue