We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742f314 commit 9f05179Copy full SHA for 9f05179
1 file changed
packages/css/src/post.ts
@@ -33,6 +33,7 @@ export function CssPostPlugin(
33
name: 'tsdown:css-post',
34
35
renderChunk(_code, chunk) {
36
+ if (styles.size === 0) return
37
if (config.splitting) return
38
39
let chunkCSS = ''
0 commit comments