|
|
|
@ -56,9 +56,8 @@ module.exports = {
|
|
|
|
|
bail: true,
|
|
|
|
|
// We generate sourcemaps in production. This is slow but gives good results.
|
|
|
|
|
// You can exclude the *.map files from the build during deployment.
|
|
|
|
|
// devtool: shouldUseSourceMap ? 'nosources-source-map' : false, //正式版
|
|
|
|
|
devtool: shouldUseSourceMap ? 'nosources-source-map' : false, //正式版
|
|
|
|
|
// devtool: shouldUseSourceMap ? 'source-map' : false,//测试版
|
|
|
|
|
devtool:false,//正式版
|
|
|
|
|
// In production, we only want to load the polyfills and the app code.
|
|
|
|
|
entry: [require.resolve('./polyfills'), paths.appIndexJs],
|
|
|
|
|
output: {
|
|
|
|
|