File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/vite/src/node/server/middlewares Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -361,13 +361,13 @@ const devHtmlHook: IndexHtmlTransformHook = async (
361361 } )
362362
363363 // invalidate the module so the newly cached contents will be served
364- const clientModuelGraph = server ?. environments . client . moduleGraph
365- if ( clientModuelGraph ) {
364+ const clientModuleGraph = server ?. environments . client . moduleGraph
365+ if ( clientModuleGraph ) {
366366 await Promise . all (
367367 inlineModulePaths . map ( async ( url ) => {
368- const module = await clientModuelGraph . getModuleByUrl ( url )
368+ const module = await clientModuleGraph . getModuleByUrl ( url )
369369 if ( module ) {
370- clientModuelGraph . invalidateModule ( module )
370+ clientModuleGraph . invalidateModule ( module )
371371 }
372372 } ) ,
373373 )
You can’t perform that action at this time.
0 commit comments