puerts
puerts copied to clipboard
【Feature Request】Auto remove js and map file when removing ts
detail | 详细描述
We can't determine a js is a ts production. Even if we found a way do that. The js may be anthor ts project's production, not legacy files.
so this is a [feature request], puerts can give a setting to explicitly map the relation between ts and js,every project can watch the dir that contained ts and the compilered js。
Sounds reasonable.
Maybe try integrate ts-cleanup (https://www.npmjs.com/package/ts-cleanup) as an optional part of workflow.