rollup-plugin-polyfill-node
rollup-plugin-polyfill-node copied to clipboard
bug: Invalid Internal Id
I try to use your plugin instead of that one from @ionic, but I'm running into this issue:
Rollup: Invalid External Id
'polyfill-node.https.js' is imported as an external by polyfill-node.https.js?commonjs-proxy, but is
already an existing non-external module id.
I do nothing special, just loading the plugin in the "after" of rollup plugins, like i did in that one before
Any idea?
I think configuring also the @rollup/plugin-node-resolve plugin and set browser: true resolves the issue
I'm right?
nodeResolve(
{
browser: true,
preferBuiltins: true
}
)