m2-devtools
m2-devtools copied to clipboard
Option for shared bundle to include just JS on all pages rather than >1
This issue is a:
- [x] Feature suggestion
- [ ] Documentation issue
- [ ] Other (Please Specify)
Environment
Question | Answer |
---|---|
Magento version | 2.3.3 |
Browser + version | Chrome |
node.js version (node -v ) |
|
npm version (npm -v ) |
Description
Compared to my last build.js on 2.2.x found here https://github.com/antonkril/magento-rjs-config my pages seem large. May be missing something but wondering if an option for shared.js bundle to only include files on all pages may be better like above build.js. Checkout files end up in there as used in cart and checkout and that sort of thing and feel that main file would get considerably smaller.
Expected result:
Option available in dev tools to set the number of page types required for JS files to be included in the shared bundle as feel 2 or more is low and causes larger pages.