We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz Memory: 4.99 GB / 15.75 GB Browsers: Edge: Chromium (128.0.2739.63) Internet Explorer: 11.0.19041.4355 npmPackages: @rsbuild/core: ^1.1.8 => 1.1.10 @rsbuild/plugin-vue: ^1.0.5
In this way https://rsbuild.dev/guide/basic/unocss Unocss transformerVariantGroup not work
transformerVariantGroup
import { defineConfig, presetUno, transformerVariantGroup } from 'unocss' export default defineConfig({ content: { filesystem: ['./src/**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}'], }, presets: [presetUno()], transformers: [transformerVariantGroup()], // not work })
<div class="bg-red text-(center white xl)">Rsbuild</div>
transformers
<div class="bg-red text-center text-white text-xl">Rsbuild</div>
https://codesandbox.io/p/github/rspack-contrib/rsbuild-codesandbox-example/main
The text was updated successfully, but these errors were encountered:
This might be an issue with UnoCSS, since Rsbuild only uses UnoCSS as a PostCSS plugin.
Can you file an issue to the unocss repository?
Sorry, something went wrong.
Yeah, I already did that
No branches or pull requests
Version
System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz Memory: 4.99 GB / 15.75 GB Browsers: Edge: Chromium (128.0.2739.63) Internet Explorer: 11.0.19041.4355 npmPackages: @rsbuild/core: ^1.1.8 => 1.1.10 @rsbuild/plugin-vue: ^1.0.5
Details
In this way https://rsbuild.dev/guide/basic/unocss
Unocss
transformerVariantGroup
not workThe effect of not using
transformers
is as follows:Reproduce link
https://codesandbox.io/p/github/rspack-contrib/rsbuild-codesandbox-example/main
Reproduce Steps
The text was updated successfully, but these errors were encountered: