Skip to content

Commit d7f13a9

Browse files
committed
fix deploy environment setting
1 parent 1f76d11 commit d7f13a9

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

conf/webpack/Dist.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,13 @@ class WebpackDistConfig extends WebpackBaseConfig {
2222
NODE_ENV: 'production'
2323
}),
2424
new webpack.LoaderOptionsPlugin({
25-
minimize: true,
25+
minimize: false,
2626
debug: false
2727
}),
2828
new webpack.optimize.AggressiveMergingPlugin(),
2929
new HtmlWebpackPlugin({
3030
template: 'index.html',
3131
filename: '../index.html',
32-
minify: {
33-
removeComments: true,
34-
collapseWhitespace: true,
35-
removeRedundantAttributes: true,
36-
useShortDoctype: true,
37-
removeEmptyAttributes: true,
38-
removeStyleLinkTypeAttributes: true,
39-
keepClosingSlash: true,
40-
minifyJS: true,
41-
minifyCSS: true,
42-
minifyURLs: true,
43-
},
4432
}),
4533
//new webpack.NoErrorsPlugin()
4634
]

0 commit comments

Comments
 (0)