Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit f5b936a

Browse files
committed
emitDeclarationOnly for tsc task
1 parent 5c5020a commit f5b936a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gulp/tasks/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ task('bundle:package:es', () =>
4545
)
4646

4747
task('bundle:package:types:tsc', () => {
48-
let cmd = 'tsc -b'
48+
let cmd = 'tsc -b --emitDeclarationOnly'
4949
if (process.cwd() === config.path_base) {
5050
cmd = `cd packages && cd ${packageName} && ${cmd}`
5151
}

0 commit comments

Comments
 (0)