cyco130 / esbuild-plugin-polyfill-node

ESBuild plugin to polyfill Node.js built-ins geared towards edge environments.
MIT License
52 stars 8 forks source link

Doesn't support ESM #11

Open maxbogus opened 1 year ago

maxbogus commented 1 year ago
  1. Set project to ESM in package.json.
  2. Add plugin to your build.
  3. Start build: ✘ [ERROR] Only file and data URLs are supported by the default ESM loader [plugin node-polyfills]