Skip to content

Commit

Permalink
fix: reliably process css with css option
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jun 15, 2022
1 parent c8d61ed commit 22fed1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/plugins/cssEnabler.ts
Expand Up @@ -28,7 +28,7 @@ export function CSSEnablerPlugin(ctx: Vitest): VitePlugin {
if (!isCSS(id))
return
if (!shouldProcessCSS(id))
return ''
return { code: '' }
},
}
}

0 comments on commit 22fed1b

Please sign in to comment.