Re:NPMprune: Remove unnecessary files from node_modules to o...
by shepherdjerred on Wednesday November 29, 2023 @03:23PM
(#38464752)
It makes me wonder why these are even configurable. These should all be emitted by default.
Having all of this stuff makes it possible to ctrl+click on functions in my libraries and read the corresponding source code. That’s a godsend during development - well worth a few extra kb of files in the npm module.
tsconfig.json:
package.json (assuming typescript compiles src/ to dist/):