pendulum-chain / vortex

https://app.vortexfinance.co/
1 stars 1 forks source link

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

Closed TorstenStueber closed 3 months ago

TorstenStueber commented 3 months ago

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 commented 3 months ago

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

TorstenStueber commented 3 months ago

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