From 2ccc705d6c976f1d24e01c021b17cce984e0f2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Fri, 22 Apr 2022 09:58:20 +0800 Subject: [PATCH] fix(build): dts generate (#7322) --- internal/build/src/tasks/types-definitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.