Skip to content

Node polyfills: Only apply them in Node.js, not in web browsers - #1089

Merged
adamziel merged 1 commit into
trunkfrom
restrict-polyfills-to-node
Mar 6, 2024
Merged

Node polyfills: Only apply them in Node.js, not in web browsers#1089
adamziel merged 1 commit into
trunkfrom
restrict-polyfills-to-node

Conversation

@adamziel

@adamziel adamziel commented Mar 6, 2024

Copy link
Copy Markdown
Collaborator

Playground Block is broken in Safari because the Node polyfill library kicks in the browser environment and sets up a polyfill that's unsupported by Safari. This PR restricts those polyfills to just the Node.js runtime.

Testing Instructions

Confirm the CI checks pass

Playground Block is broken in Safari because the Node polyfill library
kicks in the browser environment and sets up a polyfill that's
unsupported by Safari. This PR restricts those polyfills to just the
Node.js runtime.
@adamziel
adamziel merged commit 9ccab08 into trunk Mar 6, 2024
@adamziel
adamziel deleted the restrict-polyfills-to-node branch March 6, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant