This is an automated email from the ASF dual-hosted git repository.

andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git


The following commit(s) were added to refs/heads/main by this push:
     new cb852f5  ARTEMIS-5473 - Add webpack maxAsset and maxEntrypoint size 
config
cb852f5 is described below

commit cb852f5b574fe68c84ffb80fa1f4d5804271daa4
Author: GChuf <[email protected]>
AuthorDate: Tue May 13 16:44:10 2025 +0200

    ARTEMIS-5473 - Add webpack maxAsset and maxEntrypoint size config
---
 artemis-console-extension/artemis-extension/app/webpack.config.cjs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/artemis-console-extension/artemis-extension/app/webpack.config.cjs 
b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
index 03f48db..fac7486 100644
--- a/artemis-console-extension/artemis-extension/app/webpack.config.cjs
+++ b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
@@ -39,6 +39,10 @@ module.exports = (webpackEnv, args) => {
     stats: "errors-warnings",
     mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
     devtool: isEnvProduction ? false : 'cheap-module-source-map',
+    performance: {
+      maxAssetSize: 15727640, // 15MiB
+      maxEntrypointSize: 31457280, // 30MiB
+    },
     plugins: [
       // Generates an `index.html` file with the <script> injected.
       new HtmlWebpackPlugin(Object.assign({}, {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to