Skip to content

Commit 814e3b5

Browse files
committed
review
1 parent 9c1e62f commit 814e3b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/plugin-vite/src/plugins/server_snapshot.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ export function serverSnapshot(options: ResolvedFreshViteConfig): Plugin[] {
503503
return `export default ["__FRESH_CSS_PLACEHOLDER__"];`;
504504
}
505505

506+
// Re-collected on every load for HMR correctness.
506507
route.css = server === undefined
507508
? route.css
508509
: await collectRouteCss(server, route.filePath);

0 commit comments

Comments
 (0)