admin: separate sourcemaps for production build

This commit is contained in:
Aaron 2019-05-27 15:17:55 -05:00
parent 17da8c15d8
commit 0c94c11bd5
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
1 changed files with 1 additions and 1 deletions

View File

@ -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',