rollup-plugin-polyfill-node
rollup-plugin-polyfill-node copied to clipboard
bug: Failed to resolve module specifier "buffer"
We use your polyfill to make a crypto app using stenciljs which use under the hood rollup bundler.
It seems we are able to setup the polyfill in the configuration file but at the end we run into this error
Failed to resolve module specifier "buffer". Relative references must start with either "/", "./", or "../". undefined
It's not possible to check which library is running into this issue, but it seems the reference of the package is wrong.
Idk with its a thing should do the rollup-plugin-polyfill-node
plugin or if we have to do something special to get it work
like an alias
I faced the same problem with buffer not being resolved on a react app, did you manage to resolve ?