Skip to content

Commit 5ee6fd2

Browse files
authored
refactor(build): type rollup output (#13447)
1 parent 2aab455 commit 5ee6fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ export async function build(
689689
prepareOutDir(outDirs, options.emptyOutDir, config)
690690
}
691691

692-
const res = []
692+
const res: RollupOutput[] = []
693693
for (const output of normalizedOutputs) {
694694
res.push(await bundle[options.write ? 'write' : 'generate'](output))
695695
}

0 commit comments

Comments
 (0)