Skip to content

doesn't work with windicss #307

Open
@lili21

Description

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.

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