-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Conversation
|
serverNodeBuiltinsPolyfill
config option + replace esbuild-plugin-polyfill-node
with esbuild-plugins-node-modules-polyfill
"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"; |
There was a problem hiding this comment.
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.
serverNodeBuiltinsPolyfill
config option + replace esbuild-plugin-polyfill-node
with esbuild-plugins-node-modules-polyfill
serverNodeBuiltinsPolyfill
config option
Co-authored-by: Ivo Todorov <[email protected]>
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
Closing in favour of #6814 which builds on top of this. |
Part 2 of #6414