Typescript transpile in browser against precompiled js files

I have a lot, and I can not find anything on this topic. I am working on a Typescript Angular 2 application and have set up my tool to compile my .ts files in JavaScript locally and the JavaScript files in a browser.

I recently realized that I can enable typescript.js and modify System.config a bit and avoid having to compile .ts files on the local computer and allow it to run in the browser at runtime.

My question is, is there a problem in browser decryption? Should I be interested in performance as my application grows? Common sense tells me yes, but I was looking for some feedback from those who have experience with this setting.

+6
source share
2 answers

Compiling a browser is good for creating Plunker or similar, but for production, be sure to switch to forwarding before deployment. Performance and size and load time will suffer from browser transpilation.

+6
source

But so many browsers that support ES6 will not translate meaning in browsers, since it will only transmit what is not supported?

-one
source

All Articles