Skip to content

[pkg]: provide export for "browser"#272

Open
thewtex wants to merge 1 commit intoprimus:masterfrom
thewtex:browser-export
Open

[pkg]: provide export for "browser"#272
thewtex wants to merge 1 commit intoprimus:masterfrom
thewtex:browser-export

Conversation

@thewtex
Copy link

@thewtex thewtex commented Aug 27, 2024

We need the built ESM module for the browser for bundlers like vite.

This addresses errors like issue #261:

index.mjs?v=73fd6c6e:1 Uncaught SyntaxError: The requested module '/node_modules/eventemitter3/index.js?v=73fd6c6e' does not provide an export named 'default' (at index.mjs?v=73fd6c6e:1:8)

We need the built ESM module for the browser for bundlers like vite.

This addresses errors like issue primus#261:

> index.mjs?v=73fd6c6e:1 Uncaught SyntaxError: The requested module '/node_modules/eventemitter3/index.js?v=73fd6c6e' does not provide an export named 'default' (at index.mjs?v=73fd6c6e:1:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant