Skip to content

Commit ffb2ba3

Browse files
authoredJul 23, 2022
chore: adjust comments/typos (#9325)
1 parent e66cf69 commit ffb2ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/vite/src/node/plugins/esbuild.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function transformWithEsbuild(
8787

8888
let tsconfigRaw = options?.tsconfigRaw
8989

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

0 commit comments

Comments
 (0)