Skip to content

Commit

Permalink
fix: missing styles with build watch (#3742) (#3887)
Browse files Browse the repository at this point in the history
  • Loading branch information
janispritzkau committed Jun 24, 2021
1 parent 5999444 commit c9a6efe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
// Ensure new caches for every build (i.e. rebuilding in watch mode)
pureCssChunks = new Set<string>()
outputToExtractedCSSMap = new Map<NormalizedOutputOptions, string>()
hasEmitted = false
},

transform(css, id, ssr) {
Expand Down

0 comments on commit c9a6efe

Please sign in to comment.