Skip to content

doesn't work with windicss #307

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

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

      No branches or pull requests

      Issue actions