Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime: How to remove .js.map/.js files of .ts files in sublime text

I am using Angular 2 and typescript and I'm not sure what I clicked, but all my .ts files got additional .js.map/.js files created. Do anyone know how to remove these files?

When I'm opening the folder, it seems like it's trying to index the files...I'm not sure what is causing it (see image below).

enter image description here

like image 933
PBandJen Avatar asked Oct 31 '16 19:10

PBandJen


1 Answers

Ctrl + b compiles .ts files into their respective .js and .js.map files.

If you are using git for version control, and don't have any other untracked files added, you can run:

git clean -fd which will remove all untracked files

like image 124
Gerard Simpson Avatar answered Sep 28 '22 07:09

Gerard Simpson