Skip to content

Request to ship both cjs & esm #202

@hkleungai

Description

@hkleungai

Hello @frenic , I notice that the latest v3.2.0 release is shipping esm-only typedef. Is it possible to have another update, so that both cjs & esm can be shipped together? This would benefit downstream packages by letting them importing the latest css type without having to migrate old cjs codebase into an esm one.

Just a note. I have done a very naive trial on upgrading csstype on DefinitelyTyped. See the result here. Most of the affected packages are failing CI due to cjs-esm interop issue. I suppose they can be avoided if csstype can support both cjs & esm nicely :)

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