Disable css minify with vite seem not working #2468
thewebartisan7
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi, if you don't want generate preflights css, you can disable it, and it may affect your other rules using. https://unocss.dev/presets/mini#preflight export default defineConfig({
presets: [
presetUno({ preflight: false }),
],
})
UnoCSS automatically minifies output when bundling, not via vite. Do we need to put |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The vite option
build.cssMinify
seem not working with unocss, it's always minified.This is my vite.config.js:
And this is my uno.config.js:
I also notice several css variables, why this are added with default setup and how to manage this?
Several of them are also without values.
Here is all:
Beta Was this translation helpful? Give feedback.
All reactions