Skip to content

Add an option for strict CJS interop (no destructuring-like behavior, just .default) #7518

@loganfsmyth

Description

@loganfsmyth

Seems like we should add an option for this to the CommonJS transform. We'd likely also want to enable it by default for .mjs files since that is what Webpack does AFAIK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: modulesoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions