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.
This issue is a:
Environment
node -v
)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.