From 22ddb74df4547ba5fa7760461d49b279bf25a5e6 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Wed, 22 Jun 2022 19:41:58 -0400 Subject: [PATCH] refactor: stub out new updateModuleInfo params --- packages/astro/src/vite-plugin-astro/hmr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/vite-plugin-astro/hmr.ts b/packages/astro/src/vite-plugin-astro/hmr.ts index cc9b26770..3d990fe4b 100644 --- a/packages/astro/src/vite-plugin-astro/hmr.ts +++ b/packages/astro/src/vite-plugin-astro/hmr.ts @@ -41,7 +41,7 @@ export async function trackCSSDependencies( } // Update the module graph, telling it about our CSS deps. - moduleGraph.updateModuleInfo(mod, depModules, new Set(), true); + moduleGraph.updateModuleInfo(mod, depModules, new Map(), new Set(), new Set(), true); for (const dep of cssDeps) { this.addWatchFile(dep); }