In your file tsconfig.json:
"compilerOptions": {
...
"sourceMap": false,
...
}
If you disable source maps, your typescript will no longer be loaded from map files. But in order to completely “hide” them, you can delete them as soon as you click on your code during the production process, since typescript is absolutely not required for your application to work after it is sent to JS.
, , typescript JS, - , . , webpack ( angular -cli)