diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-06-11 11:04:51 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-06-11 16:42:52 +0200 |
commit | ee8241672078105862a937cc9d576724325e7db6 (patch) | |
tree | e8568955501a60c3f1afbdd239f3423898be9790 | |
parent | c4aefb05b5404cfc9b7c0e25eb3bb638684beb48 (diff) |
Silence webpack asset size warnings
-rw-r--r-- | webpack.renderer.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.renderer.js b/webpack.renderer.js index 5ba3928..63d42d6 100644 --- a/webpack.renderer.js +++ b/webpack.renderer.js @@ -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' |