ES6 as the typescript target compiler option for angularjs or angular2

前端 未结 3 640
-上瘾入骨i
-上瘾入骨i 2021-01-05 11:21

The compiler option for my angularjs application is as below. Should I use any other package to transpile es6 to es5 again

3条回答
  •  醉酒成梦
    2021-01-05 11:51

    The answer from Evan Plaice was good but it is now old (almost 18 months as of writing this). The compability table has changed a lot and it might be ok to target ES6 (ES2015) now. Check the table for the browsers you need to support.

提交回复
热议问题