Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

chore: use custom .babelrc #62

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Sep 19, 2018

Gatsby's default .babelrc is configured in a manner that automatically imports Babel polyfills
based on usage of corresponding API.

Such Babel polyfills are loaded after RHL imports react module and before page bundle generated by Gatsby imports react-dom module, which causes react and react-dom referring to different Symbol class object, triggering gatsbyjs/gatsby#7003.

Refs #24.

Gatsby's default `.babelrc` is configured in a manner that automatically imports Babel polyfills
based on usage of corresponding API.

Such Babel polyfills are loaded after RHL imports `react` module and before page bundle generated by Gatsby
imports `react-dom` module, which causes `react` and `react-dom` referring to different `Symbol` class object,
triggering gatsbyjs/gatsby#7003.

Refs carbon-design-system#24.
@alisonjoseph
Copy link
Member

Thanks for researching this! 🙌

@alisonjoseph alisonjoseph merged commit 2204c6d into carbon-design-system:master Sep 19, 2018
@asudoh asudoh deleted the custom-babelrc branch September 19, 2018 23:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants