Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundling with Vite Produces Default Export Error #1210

Open
shellscape opened this issue Nov 12, 2023 · 0 comments
Open

Bundling with Vite Produces Default Export Error #1210

shellscape opened this issue Nov 12, 2023 · 0 comments

Comments

@shellscape
Copy link

Hey there. I'm working in an environment where we're actually loading cheerio into a bundle (bananas, right? it's sane, trust me™️) and we're bundling with Vite. Unfortunately, we're running into an error with boolbase:

Uncaught SyntaxError: The requested module '/@fs/home/projects/jsx-email-repro-v4wpgs/node_modules/.pnpm/[email protected]/node_modules/boolbase/index.js?v=13516690' does not provide an export named 'default' (at attributes.ts:1:8)

It's been a minute since the package was updated, and it would be cool if we could get some ESM compatibility. Cheers

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

No branches or pull requests

1 participant