diff options
author | Brian Choromanski <[email protected]> | 2023-10-19 15:09:19 -0400 |
---|---|---|
committer | Brian Choromanski <[email protected]> | 2023-10-19 15:09:19 -0400 |
commit | 2a5b76ddfb146a9c0af85e02bdeda520235fde35 (patch) | |
tree | 448e22bcdc23003aafb65d0ede5b7c4a12dc1690 /webpack | |
parent | c8c141f5c9f0082863d9c3304c0cad17fe394b84 (diff) | |
download | SponsorBlock-2a5b76ddfb146a9c0af85e02bdeda520235fde35.tar.gz SponsorBlock-2a5b76ddfb146a9c0af85e02bdeda520235fde35.zip |
Overriding default webpack performance config to reduce warnings
Diffstat (limited to 'webpack')
-rw-r--r-- | webpack/webpack.common.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index e1a3e66c..21ff3582 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -185,6 +185,12 @@ module.exports = env => { stream: env.stream }), new configDiffPlugin() - ] + ], + performance: { + hints: false, + maxEntrypointSize: 512000, + maxAssetSize: 512000 + } + }; };
\ No newline at end of file |