Skip to content

Add "exports" field to package.json for modern JS #35

@danoc

Description

@danoc

https://web.dev/publish-modern-javascript/

I tried using exports but had to remove it in #33 to fix #31. It'd be great to add back since it's smaller than the other bundles. I'm not sure if the issue was in Next.js or microbundle, but it should be easy to find out by testing Next.js with any other package that uses exports in package.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions