Merge branch 'feature/webpack-analyze' into 'master'

Add script to run webpack analyzer

See merge request framasoft/mobilizon!23
This commit is contained in:
Thomas Citharel 2018-12-03 09:29:37 +01:00
commit 1d547ce66a
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,8 @@
"build": "vue-cli-service build --modern",
"lint": "vue-cli-service lint",
"test:e2e": "vue-cli-service test:e2e",
"test:unit": "vue-cli-service test:unit"
"test:unit": "vue-cli-service test:unit",
"analyze-bundle": "npm run build -- --report-json && webpack-bundle-analyzer ../priv/static/report.json"
},
"dependencies": {
"apollo-absinthe-upload-link": "^1.4.0",
@ -44,7 +45,8 @@
"node-sass": "^4.10.0",
"sass-loader": "^7.1.0",
"vue-cli-plugin-apollo": "^0.17.4",
"vue-template-compiler": "^2.5.17"
"vue-template-compiler": "^2.5.17",
"webpack-bundle-analyzer": "^3.0.3"
},
"browserslist": [
"> 1%",

View file