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

fix: remove Node polyfill by default #2593

Merged
merged 7 commits into from
Dec 16, 2024
Merged

fix: remove Node polyfill by default #2593

merged 7 commits into from
Dec 16, 2024

Conversation

fwouts
Copy link
Owner

@fwouts fwouts commented Apr 8, 2024

This doesn't make sense in normal codebases where we try to detect whether we're in a Node or browser environment. It can be added back with a simple Vite config such as:

import { polyfillNode } from "esbuild-plugin-polyfill-node";

export default {
  optimizeDeps: {
    plugins: [polyfillNode()],
  }
}

fwouts added 7 commits April 8, 2024 22:37
This can be added back with a simple Vite config such as:

```
import { polyfillNode } from "esbuild-plugin-polyfill-node";

export default {
  optimizeDeps: {
    plugins: [polyfillNode()],
  }
}
```
@fwouts fwouts merged commit dc1861e into main Dec 16, 2024
3 checks passed
@fwouts fwouts deleted the remove-node-polyfill branch December 16, 2024 11:13
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.

1 participant