Skip to content

Commit

Permalink
Silence webpack asset size warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jun 11, 2020
1 parent c4aefb0 commit ee82416
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webpack.renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ module.exports = {
// target a web platform.
target: 'web',
entry: { app: './app/index.js' },
performance: {
maxAssetSize: 1.5 * 1024 * 1024,
maxEntrypointSize: 1.5 * 1024 * 1024
},
plugins: [
new HtmlWebpackPlugin({
template: './app/index.html'
Expand Down

0 comments on commit ee82416

Please sign in to comment.