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

feat(remix-dev): introduce serverNodeBuiltinsPolyfill config option #6547

Closed
wants to merge 3 commits into from

Conversation

jacob-ebey
Copy link
Member

@jacob-ebey jacob-ebey commented Jun 6, 2023

Part 2 of #6414

@changeset-bot
Copy link

changeset-bot bot commented Jun 6, 2023

⚠️ No Changeset found

Latest commit: 0b1adeb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@MichaelDeBoey MichaelDeBoey changed the title Polyfills feat(remix-dev): introduce serverNodeBuiltinsPolyfill config option + replace esbuild-plugin-polyfill-node with esbuild-plugins-node-modules-polyfill Jun 6, 2023
@MichaelDeBoey MichaelDeBoey linked an issue Jun 6, 2023 that may be closed by this pull request
1 task
"from `true` to `false` regardless of platform. You can prepare for this change by explicitly specifying " +
"serverNodeBuiltinsPolyfill: false` or `serverNodeBuiltinsPolyfill: true` if you are currently relying on them. " +
"For instructions on making this change see " +
"https://remix.run/docs/en/v1.16.0/pages/v2#servernodebuiltinspolyfill";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version number needs to be bumped to match the version this goes out in.

@jacob-ebey jacob-ebey changed the title feat(remix-dev): introduce serverNodeBuiltinsPolyfill config option + replace esbuild-plugin-polyfill-node with esbuild-plugins-node-modules-polyfill feat(remix-dev): introduce serverNodeBuiltinsPolyfill config option Jun 8, 2023
LukeAskew and others added 3 commits June 14, 2023 03:43
adds option to disable server node module polyfills for non-node platform targets retaining the existing behavior of today.
chore: add warning
- rename config option
- update tests
@markdalgleish
Copy link
Member

Closing in favour of #6814 which builds on top of this.

@MichaelDeBoey MichaelDeBoey deleted the polyfills branch August 3, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants