Skip to content

Commit

Permalink
refactor(build): type rollup output (#13447)
Browse files Browse the repository at this point in the history
  • Loading branch information
花果山大圣 authored Jun 11, 2023
1 parent 2aab455 commit 5ee6fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ export async function build(
prepareOutDir(outDirs, options.emptyOutDir, config)
}

const res = []
const res: RollupOutput[] = []
for (const output of normalizedOutputs) {
res.push(await bundle[options.write ? 'write' : 'generate'](output))
}
Expand Down

0 comments on commit 5ee6fd2

Please sign in to comment.