Skip to content

Commit

Permalink
Update packages/vite/src/node/build.ts
Browse files Browse the repository at this point in the history
Co-authored-by: 翠 / green <green@sapphi.red>
  • Loading branch information
davidmyersdev and sapphi-red authored Sep 3, 2022
1 parent 0602746 commit ddeb27f
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 @@ -676,7 +676,7 @@ export function resolveBuildOutputs(
outputs.forEach((output) => {
if (['umd', 'iife'].includes(output.format!) && !output.name) {
throw new Error(
'Entries in "build.rollupOptions.output" must specify "name" when output formats include "umd" or "iife".'
'Entries in "build.rollupOptions.output" must specify "name" when the format is "umd" or "iife".'
)
}
})
Expand Down

0 comments on commit ddeb27f

Please sign in to comment.