Skip to content

Commit cc10e20

Browse files
authored
chore: fix spelling error (#21223)
1 parent 1b5d9bd commit cc10e20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/vite/src/node/server/middlewares/indexHtml.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)