Closed faustbrian closed 2 years ago
@FredKSchott @quolpr could this be related to https://github.com/FredKSchott/rollup-plugin-polyfill-node/issues/22?
See https://github.com/FredKSchott/rollup-plugin-polyfill-node/issues/22#issuecomment-995580606 for a work-around.
would love any help if our events polyfill needs a fix!
When using this package with vite I'm running into the error
Uncaught SyntaxError: The requested module '/node_modules/.pnpm/events@3.3.0/node_modules/events/events.js?v=be595b23' does not provide an export named 'default'
when opening the project in a browser.Any idea what could cause this? Does the polyfill not exactly mirror how node.js exports the
events
module?