Skip to content

Commit d2a95c5

Browse files
committed
fix(vite): drop unneeded call to invalidate module
1 parent e8789b9 commit d2a95c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/vite/src/vite.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
216216
ctx.nuxt.hook('app:templatesGenerated', (_app, changedTemplates) => {
217217
for (const template of changedTemplates) {
218218
for (const mod of server.moduleGraph.getModulesByFile(`virtual:nuxt:${encodeURIComponent(template.dst)}`) || []) {
219-
server.moduleGraph.invalidateModule(mod)
220219
server.reloadModule(mod)
221220
}
222221
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy