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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

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()],
  }
}

This can be added back with a simple Vite config such as:

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

export default {
  optimizeDeps: {
    plugins: [polyfillNode()],
  }
}
```
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