Closed colinaaa closed 2 weeks ago
We add a new option postcssOptions which will be passed to postcss() and postcss().process(). .
postcssOptions
postcss()
postcss().process()
We automatically read postcss options from Rsbuild config. It will be auto-loaded and merged from postcss.config.js and tools.postcss.
postcss.config.js
tools.postcss
We also removes tailwindcss from postcssOptions.plugins to avoid @tailwind being transformed by postcss-loader.
tailwindcss
postcssOptions.plugins
@tailwind
postcss-loader
close: #8
For Rspack plugin:
We add a new option
postcssOptions
which will be passed topostcss()
andpostcss().process()
. .For Rsbuild plugin:
We automatically read postcss options from Rsbuild config. It will be auto-loaded and merged from
postcss.config.js
andtools.postcss
.We also removes
tailwindcss
frompostcssOptions.plugins
to avoid@tailwind
being transformed bypostcss-loader
.close: #8