-
Notifications
You must be signed in to change notification settings - Fork 46.4k
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
[WIP] Move Everything to ES Modules in Builds #18094
Commits on Feb 21, 2020
-
Remove commonjs plugin for rollup
We shouldn't need this and we accidentally rely on it just by it existing.
Configuration menu - View commit details
-
Copy full SHA for 2895ebf - Browse repository at this point
Copy the full SHA 2895ebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a8e91e - Browse repository at this point
Copy the full SHA 4a8e91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb560e - Browse repository at this point
Copy the full SHA ccb560eView commit details -
Export star from reconciler bundles and react-refresh
These were conditionally trying to export the default before but they never actually exported a default. Same things with react-refresh. For Debug Tools I stuck with exporting default for now. This will now cause Rollup to mutate the exports object so I changed the wrappers. I don't know why the wrappers can't just use shadowing but I changed it to use shadowing so we don't have to use the mutation hack.
Configuration menu - View commit details
-
Copy full SHA for 7ff5ff0 - Browse repository at this point
Copy the full SHA 7ff5ff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e75ed1f - Browse repository at this point
Copy the full SHA e75ed1fView commit details -
Switch interactions to star exports
This will have esModule compatibility flag on them. They should ideally export default instead.
Configuration menu - View commit details
-
Copy full SHA for 3d7f1f1 - Browse repository at this point
Copy the full SHA 3d7f1f1View commit details -
Check in a forked version of object-assign
This one uses ES modules so that we can inline it into UMD builds.
Configuration menu - View commit details
-
Copy full SHA for 753014e - Browse repository at this point
Copy the full SHA 753014eView commit details -
Check in a forked version of prop-types/checkPropTypes that used ES m…
…odules This shouldn't change and is really mostly barely supported. It's better to control this if we're going to inline it anyway.
Configuration menu - View commit details
-
Copy full SHA for fdc9d99 - Browse repository at this point
Copy the full SHA fdc9d99View commit details -
jest-react and react-debug-tools should have object-assign as a depen…
…dency not inlined It uses spread or Object.assign in a single place which takes on this dep. :(
Configuration menu - View commit details
-
Copy full SHA for 07e86fb - Browse repository at this point
Copy the full SHA 07e86fbView commit details