Conversation
🦋 Changeset detectedLatest commit: f6ee6cb The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
yamadapc
left a comment
There was a problem hiding this comment.
LGTM but you should feature-flag it
|
The factory function is called with I have some vague recollection we ran into one third party dep that broke due to this in Jira - because if I remember correctly we did have this change in PR at some point in the past. |
Motivation
This change decreases the JS output for Confluence by 366kb. For large applications the bytes add up quick!
Other smaller optimizations to consider:
parcelRequire.registertoparcelRequire.rparcelRequireName, the current definition for confluence isparcelRequired477which shows up in 3721 files in Conflunece. Reducing it tord477would save 44kb.Changes
this.bundle.env.supports('arrow-functions', true);Checklist