When using the `removeSource` option. If your bundle references a `.d.ts` file inside `node_modules` it deletes this file. I would expect it to ignore anything outside the project when cleaning up the definitions files