Skip to content

doesn't work with windicss #307

Open

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

  1. added a commit that references this issue on Dec 10, 2021
    f3ff661
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions