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 dc4f69e commit 885ad2aCopy full SHA for 885ad2a
packages/plugin-rsc/src/plugin.ts
@@ -563,11 +563,7 @@ export default function vitePluginRsc(
563
async hotUpdate(ctx) {
564
if (isCSSRequest(ctx.file)) {
565
if (this.environment.name === 'client') {
566
- // filter out `.css?direct` (injected by SSR) to avoid browser full reload
567
- // when changing non-self accepting css such as `module.css`.
568
- return ctx.modules.filter(
569
- (m) => !(m.id?.includes('?direct') && !m.isSelfAccepting),
570
- )
+ return
571
}
572
573
0 commit comments