aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.common.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack/webpack.common.js')
-rw-r--r--webpack/webpack.common.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js
index 189681c6..d17ec1b2 100644
--- a/webpack/webpack.common.js
+++ b/webpack/webpack.common.js
@@ -170,6 +170,13 @@ module.exports = env => {
parsed.Description.message = parsed.Description.message.slice(0, 77) + "...";
}
}
+
+ if (env.browser.toLowerCase() === "edge") {
+ parsed.Description.message = parsed.Description.message.match(/^.+(?=\. )/)?.[0] || parsed.Description.message;
+ if (parsed.Description.message.length > 132) {
+ parsed.Description.message = parsed.Description.message.slice(0, 129) + "...";
+ }
+ }
return Buffer.from(JSON.stringify(parsed));
}
@@ -185,6 +192,12 @@ module.exports = env => {
stream: env.stream
}),
new configDiffPlugin()
- ]
+ ],
+ performance: {
+ hints: false,
+ maxEntrypointSize: 512000,
+ maxAssetSize: 512000
+ }
+
};
}; \ No newline at end of file