Skip to content

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

Description

@harrigo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions