Skip to content

Commit 3a107f0

Browse files
authored
chore(build): remove d.ts for example (#3830)
1 parent 7dd5930 commit 3a107f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/gulpfile.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const isComponentFolder = (dir) => {
5151
/* return gulpfile base tasks */
5252
module.exports = (src, dist, moduleName) => {
5353
const tsProject = gulpTs.createProject('tsconfig.json', {
54-
declaration: true,
54+
declaration: isComponentFolder(src),
5555
removeComments: isProduction,
5656
importHelpers: true,
5757
noEmitHelpers: true,

0 commit comments

Comments
 (0)