diff --git a/internal/build/src/tasks/types-definitions.ts b/internal/build/src/tasks/types-definitions.ts index c9b30e3810..16b7d1a96d 100644 --- a/internal/build/src/tasks/types-definitions.ts +++ b/internal/build/src/tasks/types-definitions.ts @@ -18,7 +18,7 @@ import typeSafe from '../type-safe.json' import type { SourceFile } from 'ts-morph' -const TSCONFIG_PATH = path.resolve(projRoot, 'tsconfig.json') +const TSCONFIG_PATH = path.resolve(projRoot, 'tsconfig.web.json') const outDir = path.resolve(buildOutput, 'types') // Type safe list. The TS errors are not all fixed yet, so we need a list of which files are fixed with TS errors to prevent accidental TS errors.