What problem does this feature solve?
I have seen that @tailwindcss/webpack has been released, boasting 2.17x faster performance compared to @tailwindcss/postcss.
Currently, in RSBuild, I am using it like this:
export default defineConfig({
// ...
bundlerChain: (chain, { CHAIN_ID }) => {
chain.module
.rule(CHAIN_ID.RULE.CSS)
.oneOf(CHAIN_ID.ONE_OF.CSS_MAIN)
.use('@tailwindcss/webpack')
.loader('@tailwindcss/webpack');
},
},
});
I am wondering if there is a more elegant way to support it.
What does the proposed API look like?
What problem does this feature solve?
I have seen that @tailwindcss/webpack has been released, boasting 2.17x faster performance compared to @tailwindcss/postcss.
Currently, in RSBuild, I am using it like this:
I am wondering if there is a more elegant way to support it.
What does the proposed API look like?