mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
333489d8db
### What? make sure to apply PostCSS on .module.css that is requested from RSC. Fixes a regression from #82448 Closes #82545
13 lines
205 B
JavaScript
13 lines
205 B
JavaScript
const plugin = () => {
|
|
return {
|
|
postcssPlugin: 'color-change',
|
|
Declaration: {
|
|
color(prop) {
|
|
prop.value = 'green'
|
|
},
|
|
},
|
|
}
|
|
}
|
|
plugin.postcss = true
|
|
module.exports = plugin
|