Skip to content

Commit

Permalink
chore: adjust comments/typos (#9325)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer authored Jul 23, 2022
1 parent e66cf69 commit ffb2ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/plugins/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export async function transformWithEsbuild(

let tsconfigRaw = options?.tsconfigRaw

// if options provide tsconfigraw in string, it takes highest precedence
// if options provide tsconfigRaw in string, it takes highest precedence
if (typeof tsconfigRaw !== 'string') {
// these fields would affect the compilation result
// https://esbuild.github.io/content-types/#tsconfig-json
Expand Down Expand Up @@ -443,7 +443,7 @@ function reloadOnTsconfigChange(changedFile: string) {
tsconfckParseOptions?.cache?.has(changedFile))
) {
server.config.logger.info(
`changed tsconfig file detected: ${changedFile} - Clearing cache and forcing full-reload to ensure typescript is compiled with updated config values.`,
`changed tsconfig file detected: ${changedFile} - Clearing cache and forcing full-reload to ensure TypeScript is compiled with updated config values.`,
{ clear: server.config.clearScreen, timestamp: true }
)

Expand Down

0 comments on commit ffb2ba3

Please sign in to comment.