Skip to content

Commit

Permalink
fix(build): fix resolution algorithm when build.ssr is true (vitejs…
Browse files Browse the repository at this point in the history
  • Loading branch information
cuuc20072008 committed Nov 4, 2022
1 parent 97d5a7a commit e70d0d5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/vite/src/node/server/moduleGraph.ts
Expand Up @@ -58,11 +58,7 @@ function invalidateSSRModule(mod: ModuleNode, seen: Set<ModuleNode>) {
mod.importers.forEach((importer) => invalidateSSRModule(importer, seen))
}

export type ResolvedUrl = [
url: string,
resolvedId: string,
meta: object | null | undefined
]
export type ResolvedUrl = any

export class ModuleGraph {
urlToModuleMap = new Map<string, ModuleNode>()
Expand Down

0 comments on commit e70d0d5

Please sign in to comment.