Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for shared bundle to include just JS on all pages rather than >1 #63

Open
1 of 3 tasks
harrigo opened this issue Dec 11, 2019 · 0 comments
Open
1 of 3 tasks

Comments

@harrigo
Copy link

harrigo commented Dec 11, 2019

This issue is a:

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant