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
[feature] recursive file scan from specific folders #543
Comments
I have a similar issue. For my Vite config I use Otherwise everything is working quite smoothly with the exception of the occasional infinite loop of the web console logging Awesome library, excited for it to become more solid and mature. I believe this approach of combining publicly created presets and using JIT is the way forwards for utility classes. |
@milesingrams Try adding your SVGs in the include option and unocss will generate styles. You can read more in README Related issue: #166 |
I guess me and @samadadi has the same features wanting on the cli |
@antfu How to solve this problem ? Is there any api suggest? I want to try this |
Hi. I am using unocss cli & This issue is all about adding some useful cli options.
-d --directory
option with following value formats"folder1:folder2:..."
or"folder1 folder2 ..."
or[folder1,folder2,...]
.-r --recursive
option to scan for file recursively down to the folder tree.-e --extension
options to scan for files with specific extensions with following value formats"*.html:*.js:*.jsx:..."
or"*.html *.js *.jsx ..."
or[*.html,*.js,*.jsx,...]
.Note: I also should mention that unocss fails to create required folder recursively when it is trying to save output to a folder that does not exist.
The text was updated successfully, but these errors were encountered: