Skip to content

doesn't work with windicss #307

Open
@lili21

Description

@lili21

Reproduce Code

import 'windi.css'

Error message

Error: Cannot find module 'windi.css'

windi.css is a virtual module, the function that causes the error is

return require.resolve(path.node.source.value);

and it runs before excluding logic, so the exclude option won't work.

Activity

added a commit that references this issue on Dec 10, 2021
f3ff661
linked a pull request that will close this issue on Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @lili21

      Issue actions

        doesn't work with windicss · Issue #307 · gajus/babel-plugin-react-css-modules