Replies: 1 comment 1 reply
-
We copy plugins to Line 179 in 94b5260 and then we are suing them here for new event-based API Line 254 in 94b5260 And here for olds API: Line 288 in 94b5260 Line 398 in 94b5260
I think we can use TS types for that https://github.com/postcss/postcss/blob/main/lib/postcss.d.ts#L219-L227 |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In PostCSS 8.0.1, the condition order in normalize() caused plugin containers like { postcssPlugin, plugins: [...] } to pass through.
This broke TailwindCSS in some environments (Turbopack).
In 8.0.2, the condition order was changed, and now only plugin functions are included.
I'm trying to understand: how and where does the Processor class use the normalized plugin list, and what plugin structure does it expect for execution?
8.0.1 normalize function in lib/processor.js
8.0.2 normalize function in lib/processor.js
Beta Was this translation helpful? Give feedback.
All reactions