I had set "sourceMap": true
in my tsconfig.json
file. After compiling every ts file got its js.map file. I reset "sourceMap": false
and recompiled. The *js.map files did not get deleted. How can I get rid of them?
With a unix-based system you can use find and execute:
find . -name "*.js.map" -exec rm {} \;
I find it to be very useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With