farm
farm copied to clipboard
The vite plugin "unocss "cannot be supported
Steps to reproduce
Vite plugin unocss:global:build:scan is not compatible with Farm for now. Because it uses hook "moduleParsed" which is not supported by Farm.
What is expected?
The moduleParsed hook in the rollup is not supported. Hope it will be the same
What is actually happening?
The moduleParsed hook in the rollup is not supported. Hope it will be the same
System Info
The moduleParsed hook in the rollup is not supported. Hope it will be the same
Any additional comments?
No response
The plugin for unocss is in progress. We will use the farm native js plugin instead of using vite-compatible plugins. Please wait.
you can use unocss postcss plugin for now. vite plugin unocss is deeply integrated with vite, some of it's plugins can not be supported.
for unocss plugin, we will implement unplugin-unocss for farm later
Is there any update on this thread? Currently the latest farm with postcss is not working with unocss.
Is there any update on this thread? Currently the latest farm with postcss is not working with unocss.
I'll try this question.
great roadmap in https://github.com/farm-fe/farm/issues/1589 ; really hope I can use react with unocss soon