Skip to content

Support in ESM Environments with "tailwind.config.cjs" #198

Closed
@lannonbr

Description

@lannonbr

As discussed in tailwindlabs/tailwindcss#2284, it is possible to still use Tailwind in a ESM environment by declaring the config file to have a .cjs file extension. That said, it breaks the activation event & sourcing of the config as it is looking for various options ending with .js.

I'm curious if it would be possible to add functionality for this extension to pick up tailwind config files that end with .cjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions