grgrzybek commented on PR #109:
URL: 
https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3135995397

   Now with `yarn webpack build --mode development` I've concatenated all 
`*.js` files and it's:
   * 37MB
   * 5569 unique "modules" like `!*** 
../node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js ***!`
   * 5 duplicates:
   ```
         2   !*** ../node_modules/@hawtio/react/dist/index.js ***!
         2   !*** 
../node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js 
***!
         2   !*** 
../node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol.js
 ***!
         2   !*** 
../node_modules/@patternfly/react-styles/css/components/ExpandableSection/expandable-section.css
 ***!
         2   !*** 
../node_modules/@patternfly/react-tokens/dist/esm/c_expandable_section_m_truncate__content_LineClamp.js
 ***!
   ```
   
   Doing some statistics ("module" is a single JavaScript file from all used 
NPM Packages):
   * 559 D3 modules
   * 268 lodash modules
   * 1049 monaco-editor modules
   * 83 `@patternfly/react-charts` modules
   * 11 `@patternfly/react-code-editor` modules
   * 573 `@patternfly/react-core` modules
   * 1750 `@patternfly/react-icons` modules. yes. See 
hawtio/hawtio-next@a9c2937d which saved me 15MB
   * 197 `@patternfly/react-styles` modules
   * 49 `@patternfly/react-table` modules
   * 325 `@patternfly/react-tokens` modules
   * 217 `@patternfly/react-topology` modules
   * and some minors
   
   Now I'll check the duplicates (there shouldn't be any) and 
icons/styles/tokens optimization


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to