.js and .map.js files are being created all the time for all ts/tsx files.

Since recently I have a problem with .map files. They are being created all the time for no reason. How can I prevent that? THis is what it looks like in IDE 

2
3 comments

Do you have Recompile on changes enabled in Settings | Languages & Frameworks | TypeScript?

2

Yes I do. Just disabled it. Everything works just as it was except no more .map files. Thanks.

What is this option for?

0

As it's written in Help, when this checkbox is selected, the compiler "wakes up" upon any change to a TypeScript file, emitting .js and js.map files (if sourcemaps are enabled in tsconfig.json)

0

Please sign in to leave a comment.