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

IE11 site issues #24

Closed
alisonjoseph opened this issue Sep 13, 2018 · 2 comments
Closed

IE11 site issues #24

alisonjoseph opened this issue Sep 13, 2018 · 2 comments

Comments

@alisonjoseph
Copy link
Member

@asudoh the pollyfills you added break the gatsby build because you can't use window.... with gatsby 😢

screen shot 2018-09-13 at 8 08 02 am

https://www.gatsbyjs.org/docs/debugging-html-builds/

I wonder if some of the docs here would help instead?
https://next.gatsbyjs.org/docs/browser-support/#browser-support

Currently the test version of the site is here https://carbon-design-system.github.io/carbon-website-gatsby/ but it is not working correctly in IE11.

any thoughts?

asudoh added a commit to asudoh/carbon-website-gatsby that referenced this issue Sep 14, 2018
@asudoh
Copy link
Contributor

asudoh commented Sep 14, 2018

@alisonjoseph Created #36. However, still does not work with IE11 due to gatsbyjs/gatsby#7003. Tapping one of the Gatsby guys to see if he has a hint or good support path.

@alisonjoseph
Copy link
Member Author

@asudoh just checked the production build of the site and it is working in IE11 🎉 (you can view here https://carbon-design-system.github.io/carbon-website-gatsby/)

asudoh added a commit to asudoh/carbon-website-gatsby that referenced this issue Sep 17, 2018
asudoh added a commit to asudoh/carbon-website-gatsby that referenced this issue 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 carbon-design-system#24.
asudoh added a commit to asudoh/carbon-website-gatsby that referenced this issue 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 carbon-design-system#24.
tw15egan pushed a commit to tw15egan/carbon-website-gatsby that referenced this issue Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants