Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extractors not working with cli #3793

Closed
4 tasks done
gorango opened this issue May 11, 2024 · 0 comments · Fixed by #3803
Closed
4 tasks done

extractors not working with cli #3793

gorango opened this issue May 11, 2024 · 0 comments · Fixed by #3803

Comments

@gorango
Copy link

gorango commented May 11, 2024

UnoCSS version

latest (0.60.0)

Describe the bug

Using @unocss/cli, extractor-pug is unable to reach the compile step due to ctx.id being undefined.

In the repro (linked below), there is a reduced clone of the pug extractor that skips the id checks which produces the desired results (it is commented out in the uno.config.js file).

Reproduction

https://stackblitz.com/edit/unocss-unocss-hywyra?file=uno.config.js

Validations

@gorango gorango changed the title @unocss/extractor-pug not working extractors not working with cli May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant