Skip to content

Commit 2ccc705

Browse files
authored
fix(build): dts generate (element-plus#7322)
1 parent 1028264 commit 2ccc705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/build/src/tasks/types-definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import typeSafe from '../type-safe.json'
1818

1919
import type { SourceFile } from 'ts-morph'
2020

21-
const TSCONFIG_PATH = path.resolve(projRoot, 'tsconfig.json')
21+
const TSCONFIG_PATH = path.resolve(projRoot, 'tsconfig.web.json')
2222
const outDir = path.resolve(buildOutput, 'types')
2323

2424
// 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.

0 commit comments

Comments
 (0)