Skip to content

Bundling with Vite Produces Default Export Error #1210

Open
@shellscape

Description

@shellscape

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions