refactor(build): remove unused code
refactor(build): remove unused code

Remove redundant code for 'build-dts' task.

aurelia/dialog,rockResolve/dialog,StrahilKazlachev/dialog,StrahilKazlachev/dialog,aurelia/dialog,rockResolve/dialog