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

Remove node polyfills no longer needed for rich text components #2195

Merged
merged 8 commits into from
Jun 17, 2024

Conversation

jattasNI
Copy link
Contributor

@jattasNI jattasNI commented Jun 17, 2024

Pull Request

🤨 Rationale

Fixes #1700. These two polyfills were added in #1335 because markdown-it implicitly depended on some functionality that existed in Node but not browser environments. We've since upgraded markdown-it to a version that expresses those dependencies on normal npm packages, so the polyfills are no longer needed.
markdown-it/markdown-it#967

👩‍💻 Implementation

Remove rollup plugins and npm dependencies on those plugins that were added in #1335.

🧪 Testing

Mostly depending on PR build but also spot checking rich text functionality in storybook.

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@jattasNI jattasNI marked this pull request as ready for review June 17, 2024 13:55
@jattasNI jattasNI requested a review from rajsite as a code owner June 17, 2024 13:55
@jattasNI jattasNI enabled auto-merge (squash) June 17, 2024 13:55
@jattasNI jattasNI merged commit 4befcd5 into main Jun 17, 2024
11 checks passed
@jattasNI jattasNI deleted the remove-node-polyfills branch June 17, 2024 14:59
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.

Remove Node polyfill needed for markdown-it / rich text components
2 participants