You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have package1 which includes eventemitter3 and it follows esm there is another package package2 when I include package1 and when running in browser it throws the error. the package 2 is also an es module. is this can be resolved on your side.
i tried different rollup plugins but no success.
The text was updated successfully, but these errors were encountered:
I had this issue as well, using vite and @rollup/plugin-commonjs. I had to disable@rollup/plugin-commonjs from working on eventemitter3 (5.0.1), and that resolved the issue that you've reported.
This is the plugin configuration in my vite config file:
commonjs({/* We want to fix local imports of files that are using commonjs style, but it interferes with external modules */exclude: [/node_modules/],}),
I had similar problems with other external modules, so I excluded everything in node_modules.
we have package1 which includes eventemitter3 and it follows esm there is another package package2 when I include package1 and when running in browser it throws the error. the package 2 is also an es module. is this can be resolved on your side.
i tried different rollup plugins but no success.
The text was updated successfully, but these errors were encountered: