Skip to content

Commit

Permalink
chore: revert initial change
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jul 27, 2023
1 parent ee9aee0 commit 05f90c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
if (cssModuleRE.test(id)) {
isPureCssChunk = false
}
} else if (chunk.modules[id].code) {
} else {
// if the module does not have a style, then it's not a pure css chunk.
// this is true because in the `transform` hook above, only modules
// that are css gets added to the `styles` map.
Expand Down

0 comments on commit 05f90c0

Please sign in to comment.