Skip to content

Conversation

@one-ness
Copy link
Contributor

@one-ness one-ness commented Nov 11, 2022

Fix Known Issue in legacy browsers (IE 11): "Object doesn't support property or method 'setPrototypeOf'"

Description

Add changes to migration guide (version 2 to 3) to outline steps for addressing a known issue when migrating to Webpack5 (a requirement for GatsbyJS v3) and targeting IE 11 legacy browser. The change describes the error displayed in browser, how to create a custom polyfill, and how to inject it into Webpack using gatsby-node.js onCreateWebpackConfig API.

Documentation

The following link describes browser support for Gatsby v3, but fails to mention this known issue:
https://v3.gatsbyjs.com/docs/how-to/custom-configuration/browser-support/#polyfills

Related Issues

Fix Known Issue in legacy browsers (IE 11): "Object doesn't support property or method 'setPrototypeOf'"
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 11, 2022
@LekoArts LekoArts added type: documentation An issue or pull request for improving or updating Gatsby's documentation and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Nov 14, 2022
@LekoArts LekoArts changed the title Add known issue in legacy browsers (IE 11) chore(docs): Add IE 11 note to v2 to v3 migration guide Nov 14, 2022
@LekoArts LekoArts merged commit 4842417 into gatsbyjs:master Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation An issue or pull request for improving or updating Gatsby's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants