How to enable CSS extraction for an environment with the output target of node
?
#3898
-
I'm not seeing it in the options but is there a way to enable CSS extraction and bundling if the output target is node? The docs say:
under this link https://rsbuild.dev/config/output/target#node-target I tried enabling flags to trigger the rsbuild/packages/core/src/plugins/css.ts Lines 249 to 253 in cea4364 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Rsbuild does not yet support emitting CSS when the target is Can you explain when will Node.js bundles will use the emitted CSS bundles? |
Beta Was this translation helpful? Give feedback.
Implementing a custom CSS plugin is not easy. I will add a new
output.emitCss
option today to allow emitting CSS bundles for Node target.