1
0
mirror of synced 2025-12-08 22:58:46 +08:00

Dev: Optimize production size

This commit is contained in:
surunzi
2016-05-12 14:59:10 +08:00
parent cff14c248b
commit fd6918c58c
2 changed files with 7 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
"main": "dist/eruda.js",
"scripts": {
"dev": "webpack --watch",
"release": "webpack & uglifyjs dist/eruda.js -o dist/eruda.min.js",
"release": "webpack & webpack -p --output-filename eruda.min.js & uglifyjs dist/eruda.min.js -o dist/eruda.min.js --mangle",
"serve": "nws -p 3000"
},
"repository": {
@@ -27,6 +27,7 @@
"autoprefixer": "^6.3.3",
"babel-core": "^6.6.5",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"css-loader": "^0.23.1",
"draggabilly": "^2.1.0",