Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
lincenying committed Oct 25, 2018
1 parent cba9b31 commit f25af9f
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 173 deletions.
7 changes: 7 additions & 0 deletions build/webpack.client.prod.config.js
Expand Up @@ -14,6 +14,13 @@ prefixMulti[srcDir] = ''

module.exports = {
mode: 'production',
performance: {
maxAssetSize: 500000,
maxEntrypointSize: 1000000,
assetFilter: function(assetFilename) {
return assetFilename.endsWith('.js')
}
},
devtool: false,
output: {
path: config.build.assetsRoot,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -55,10 +55,10 @@
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/runtime": "^7.1.2",
"autoprefixer": "^9.2.1",
"autoprefixer": "^9.3.1",
"babel-loader": "^8.0.4",
"body-parser": "^1.18.3",
"browserslist": "^4.3.0",
"browserslist": "^4.3.3",
"cache-loader": "^1.2.2",
"compression": "^1.7.3",
"connect-multiparty": "^2.2.0",
Expand All @@ -82,7 +82,7 @@
"lint-staged": "^7.3.0",
"lru-cache": "^4.1.3",
"mini-css-extract-plugin": "0.4.4",
"mongoose": "^5.3.4",
"mongoose": "^5.3.6",
"morgan": "^1.9.1",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
Expand All @@ -98,7 +98,7 @@
"vue-content-loader": "^0.2.1",
"vue-loader": "^15.4.2",
"vue-ssr-webpack-plugin": "^3.0.0",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.3",
Expand Down

0 comments on commit f25af9f

Please sign in to comment.