aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2024-09-08 01:23:19 -0400
committerGitHub <[email protected]>2024-09-08 01:23:19 -0400
commit0a7497be27624afe282f1c7165d41a8a5025892c (patch)
treed7b713ed9f99c3320e161272a8acffdf716bf75f
parentfcf096c66d4156a4efa617eae2f028628cca91c3 (diff)
parent2a5b76ddfb146a9c0af85e02bdeda520235fde35 (diff)
downloadSponsorBlock-0a7497be27624afe282f1c7165d41a8a5025892c.tar.gz
SponsorBlock-0a7497be27624afe282f1c7165d41a8a5025892c.zip
Merge pull request #1886 from Choromanski/master
Overriding default webpack performance config to reduce warnings
-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 189681c6..6ba75b12 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