Fix importing polyfill plugins in the Rollup bundle #13017
The polyfill plugins are ESM files compiled down to CJS, and thus they have an
When bundling CJS files that have the
This PR introduces a small Babel plugins that rewrites those specific
I opened rollup/plugins#838 to see if the Rollup community is interested in aligning with Node.js.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit df07f0a: