I'm curious about the tsc
command with the arguments --build --clean
, which is used to clean/remove the generated .js
files from the Transpiler (tsc).
What makes this command special or significant? If I simply need to delete all the .js
files, I can easily do so using rm -rf *.js
or del *.js
in the directory.
Is there anything important missing from my understanding that someone could explain?