cyco130/esbuild-plugin-polyfill-node

Doesn't support ESM

maxbogus opened this issue · 0 comments

  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]