diff --git a/packages/vite/src/node/plugins/esbuild.ts b/packages/vite/src/node/plugins/esbuild.ts index 23d4423d28db19..3a0e1eb7616d1b 100644 --- a/packages/vite/src/node/plugins/esbuild.ts +++ b/packages/vite/src/node/plugins/esbuild.ts @@ -471,7 +471,7 @@ async function loadTsconfigJsonForFile( try { if (tsconfckCache) { // shortcut, the cache stores resolved TSConfckParseResult - // so getting it from the cache directly we bypass aysnc fn call wrapping it in a promise again + // so getting it from the cache directly we bypass async fn call wrapping it in a promise again if (tsconfckCache.hasParseResult(filename)) { const result = await tsconfckCache.getParseResult(filename) return result.tsconfig