#Is it possible to exclude *.d.ts in 'dist' folder?

8 messages · Page 1 of 1 (latest)

ionic stratus
#

Just wonder if there an option to avoid ts type defs in the dist folder, otherwise has to clean ups that manually.....

neon token
#

Set declare: false in the tsconfig

ionic stratus
#

@neon token thanks for feedback, however I've needed that setting only for prod, so I had to came up with post_build script that would cleaned up files that I do not want on prod

#

Is it possible to exclude *.d.ts from appear in 'dist' folder?

#

Is it possible to exclude *.d.ts in 'dist' folder?

crisp ore
#

You can use multiple tsconfig maybe?

cedar bane
#

but why you need to exclude *.d.ts ?

ionic stratus