3 ms·
https://github.com/tj/node-prune/blob/master/prune.go#L57 https://github.com/tj/node-prune/blob/master/prune.go#L57 Doesn't this also result in .d.ts files bei
by TheCoreh 9y ago
https://github.com/tj/node-prune/blob/master/prune.go#L57 https://github.com/tj/node-prune/blob/master/prune.go#L57
Doesn't this also result in .d.ts files being removed? These are type declaration files (Kinda like C's .h files) that provide types for you without the file size overhead of the full TypeScript source.
- zachrip 9y agoThey aren't needed during runtime though, that's what this project is attempting to clean up.
- latchkey 9y agots-node no longer works.
- always_good 9y agoTry `ts-node --fast`
- latchkey 9y agoIf the files are deleted, how will that help?
- always_good 9y agoOh, right. I was thinking it was only pulling in types.
- smt88 9y agoWhat's the benefit of running ts-node in production?
- latchkey 9y agoI don't have to distribute .js files.