update to webpack4 (#889)

This commit is contained in:
花裤衩
2018-08-15 15:33:34 +08:00
committed by GitHub
parent 1df59cc4b6
commit 378ca2c217
12 changed files with 287 additions and 251 deletions

View File

@@ -162,7 +162,10 @@ npm run build:prod
## 其它
```bash
# --report to build with bundle size analytics
npm run build:prod --report
npm run build:prod
# --generate a bundle size analytics. default: bundle-report.html
npm run build:prod --generate_report
# --preview to start a server in local to preview
npm run build:prod --preview