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

Transform dependencies in node_modules #481

Merged
merged 13 commits into from
Dec 8, 2020
Merged

Conversation

chrishavekost
Copy link
Contributor

Main portion of this PR deals with having babel-loader transpile dependencies inside node_modules. As time goes on, more packages are moving to modern syntax not supported in IE 11. As we upgrade Availity packages we are running into more problems in IE 11. Having babel process dependencies should help.

This PR also has some cacheGroup changes and a regex fix.

I also plan to add some of the more common polyfills we are missing in a separate PR. As an example, @availity/hooks depends on react-query which now needs Array.prototype.includes() to be polyfilled, that should no longer be on the developer to add. I plan to add a few more common ones plus some bundle size comparisons in that PR too.

References #212 and #98

Copy link
Contributor

@robmcguinness robmcguinness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chrishavekost chrishavekost merged commit 6b98d6a into master Dec 8, 2020
@chrishavekost chrishavekost deleted the fix/ie11-arrow branch December 8, 2020 16:04
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

Successfully merging this pull request may close these issues.

2 participants