mirror of
https://github.com/wu736139669/ASHEBShop-h5.git
synced 2026-08-05 05:55:36 +00:00
modify
This commit is contained in:
@@ -32,9 +32,9 @@ var GoodsList = React.createClass({
|
||||
// contentType: "appcation/json",
|
||||
data: {
|
||||
"command":"10001",
|
||||
"root":"{\"pageSize\":200,\"page\":1}",
|
||||
"root":"{\"pageSize\":1000,\"page\":1}",
|
||||
"version":"1.1",
|
||||
"sign":"7c6cca9bf9216c41c6986ee2cf510d79"
|
||||
"sign":"7d75d22adacf36f4f664e9a80ebb4007"
|
||||
},
|
||||
headers: {
|
||||
Accept:"text/plain, */*; q=0.01",
|
||||
|
||||
@@ -15,6 +15,14 @@ module.exports = {
|
||||
'NODE_ENV': JSON.stringify('production')
|
||||
}
|
||||
}),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
output: {
|
||||
comments: false,
|
||||
},
|
||||
compress: {
|
||||
warnings: false
|
||||
}
|
||||
}),
|
||||
new webpack.optimize.DedupePlugin(), //删除类似的重复代码
|
||||
new webpack.optimize.UglifyJsPlugin(), //最小化一切
|
||||
new webpack.optimize.AggressiveMergingPlugin()//合并块
|
||||
|
||||
Reference in New Issue
Block a user