aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack
diff options
context:
space:
mode:
authorBrian Choromanski <[email protected]>2023-10-19 15:09:19 -0400
committerBrian Choromanski <[email protected]>2023-10-19 15:09:19 -0400
commit2a5b76ddfb146a9c0af85e02bdeda520235fde35 (patch)
tree448e22bcdc23003aafb65d0ede5b7c4a12dc1690 /webpack
parentc8c141f5c9f0082863d9c3304c0cad17fe394b84 (diff)
downloadSponsorBlock-2a5b76ddfb146a9c0af85e02bdeda520235fde35.tar.gz
SponsorBlock-2a5b76ddfb146a9c0af85e02bdeda520235fde35.zip
Overriding default webpack performance config to reduce warnings
Diffstat (limited to 'webpack')
-rw-r--r--webpack/webpack.common.js8
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