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

Replace esbuild-plugin-polyfill-node with vite-plugin-node-polyfills #84

Closed
TorstenStueber opened this issue Aug 5, 2024 · 2 comments
Closed
Assignees

Comments

@TorstenStueber
Copy link
Collaborator

The plugin esbuild-plugin-polyfill-node is causing the following problems on some machines:

✘ [ERROR] The injected path "/path/to/project/node_modules/esbuild-plugin-polyfill-node/polyfills/__dirname.js" cannot be marked as external

✘ [ERROR] The injected path "/path/to/project/node_modules/esbuild-plugin-polyfill-node/polyfills/buffer.js" cannot be marked as external

✘ [ERROR] The injected path "/path/to/project/node_modules/esbuild-plugin-polyfill-node/polyfills/process.js" cannot be marked as external

This problem is reported in this open issue and one commenter suggests to replace esbuild-plugin-polyfill-node with vite-plugin-node-polyfills.

@prayagd
Copy link
Collaborator

prayagd commented Aug 6, 2024

Moving this to review as i see a PR linked also merged, can we close?

@TorstenStueber
Copy link
Collaborator Author

I don't understand why this issue is not closed automatically – the PR is merged. This ticket is done.

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

No branches or pull requests

2 participants