Skip to content

Commit

Permalink
chore: fix typo (#14820)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzt1008 authored Oct 31, 2023
1 parent bd15537 commit eda1247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export interface UserConfig {
*/
format?: 'es' | 'iife'
/**
* Vite plugins that apply to worker bundle. The plugins retured by this function
* Vite plugins that apply to worker bundle. The plugins returned by this function
* should be new instances every time it is called, because they are used for each
* rollup worker bundling process.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/transformRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ async function handleModuleSoftInvalidation(

if (ssr ? mod.ssrTransformResult : mod.transformResult) {
throw new Error(
`Internal server error: Soft-invalidated module "${mod.url}" should not have existing tranform result`,
`Internal server error: Soft-invalidated module "${mod.url}" should not have existing transform result`,
)
}

Expand Down

0 comments on commit eda1247

Please sign in to comment.