Skip to content

Conversation

@colinaaa
Copy link
Collaborator

For Rspack plugin:

We add a new option postcssOptions which will be passed to postcss() and postcss().process().
.

For Rsbuild plugin:

We automatically read postcss options from Rsbuild config. It will be auto-loaded and merged from postcss.config.js and tools.postcss.

We also removes tailwindcss from postcssOptions.plugins to avoid @tailwind being transformed by postcss-loader.

close: #8

@colinaaa colinaaa requested a review from chenjiahan November 12, 2024 02:57
Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@colinaaa colinaaa merged commit 256dc2d into main Nov 12, 2024
2 checks passed
@colinaaa colinaaa deleted the postcss-config branch November 12, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Custom PostCSS options

3 participants