From ffb2ba39a765177f561baf5f62f22969eaf91c4b Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 23 Jul 2022 14:26:53 -0400 Subject: [PATCH] chore: adjust comments/typos (#9325) --- packages/vite/src/node/plugins/esbuild.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vite/src/node/plugins/esbuild.ts b/packages/vite/src/node/plugins/esbuild.ts index 9a95c1be816580..d5d25b861584f6 100644 --- a/packages/vite/src/node/plugins/esbuild.ts +++ b/packages/vite/src/node/plugins/esbuild.ts @@ -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 @@ -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 } )