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
@unocss/cli
warn about duplication of preset
#1689
Comments
Can you provide a mimimum reproduction ? |
Here it is: https://github.com/avxit/unocss-cli-bug |
Hi~,the presetUno() is a default built-in preset of unocss/cli . |
Don't know what do you mean about this, but you can substitute
I am also updated the minimum reproduction with |
To reproduce, install
@unocss/cli
, createuno.config.js
and add any preset then run the CLI. Warning message is always appeared in screen.After some digging, I think
loader.load()
doesn't work correctly. It's duplicate entries ofpresets
array instead of "merge" or something and that cause the problem.unocss/packages/config/src/index.ts
Line 57 in 76b883f
The text was updated successfully, but these errors were encountered: