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

Not all icons are present in the build #168

Closed
davay42 opened this issue Nov 24, 2021 · 1 comment
Closed

Not all icons are present in the build #168

davay42 opened this issue Nov 24, 2021 · 1 comment

Comments

@davay42
Copy link

davay42 commented Nov 24, 2021

I'm using unocss for css icons instead on unplugin-icons in my vite project. The dev process look perfectly fine - all icons appear in the design and also in the inspector. But when I build my project I only get a few icons in the minified css asset. Many icons are not present there. May be there's some option for that?

It seems like only icons used directly in the routes are included, but the auto-imported components icons are missed in the build process.

Снимок экрана 2021-11-25 в 01 31 13

Снимок экрана 2021-11-25 в 01 32 41

Here's the project repo to test against https://github.com/DeFUCC/project-app

@antfu antfu closed this as completed in b4a248a Nov 25, 2021
@davay42
Copy link
Author

davay42 commented Nov 25, 2021

I knew it was something about the pug extractor issues. Thanks!

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

No branches or pull requests

1 participant