Skip to content

Commit 3bff06e

Browse files
authored
chore: typo (#3836)
1 parent 74d409e commit 3bff06e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/vite/src/node/build.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ async function doBuild(
407407
try {
408408
const pkgName = libOptions && getPkgName(config.root)
409409

410-
const buildOuputOptions = (output: OutputOptions = {}): OutputOptions => {
410+
const buildOutputOptions = (output: OutputOptions = {}): OutputOptions => {
411411
return {
412412
dir: outDir,
413413
format: ssr ? 'cjs' : 'es',
@@ -454,10 +454,10 @@ async function doBuild(
454454
const output: OutputOptions[] = []
455455
if (Array.isArray(outputs)) {
456456
for (const resolvedOutput of outputs) {
457-
output.push(buildOuputOptions(resolvedOutput))
457+
output.push(buildOutputOptions(resolvedOutput))
458458
}
459459
} else {
460-
output.push(buildOuputOptions(outputs))
460+
output.push(buildOutputOptions(outputs))
461461
}
462462

463463
const watcherOptions = config.build.watch
@@ -505,7 +505,7 @@ async function doBuild(
505505

506506
const generate = (output: OutputOptions = {}) => {
507507
return bundle[options.write ? 'write' : 'generate'](
508-
buildOuputOptions(output)
508+
buildOutputOptions(output)
509509
)
510510
}
511511

0 commit comments

Comments
 (0)