Skip to content

Commit

Permalink
chore: Correcting typo in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed May 2, 2021
1 parent b954f38 commit 2957123
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ async function doBuild(
try {
const pkgName = libOptions && getPkgName(config.root)

const buildOuputOptions = (output: OutputOptions = {}): OutputOptions => {
const buildOutputOptions = (output: OutputOptions = {}): OutputOptions => {
return {
dir: outDir,
format:
Expand Down Expand Up @@ -448,10 +448,10 @@ async function doBuild(
const output: OutputOptions[] = []
if (Array.isArray(outputs)) {
for (const resolvedOutput of outputs) {
output.push(buildOuputOptions(resolvedOutput))
output.push(buildOutputOptions(resolvedOutput))
}
} else {
output.push(buildOuputOptions(outputs))
output.push(buildOutputOptions(outputs))
}

const watcherOptions = config.build.watch
Expand Down Expand Up @@ -499,7 +499,7 @@ async function doBuild(

const generate = (output: OutputOptions = {}) => {
return bundle[options.write ? 'write' : 'generate'](
buildOuputOptions(output)
buildOutputOptions(output)
)
}

Expand Down

0 comments on commit 2957123

Please sign in to comment.