These are chat archives for AngularClass/angular2-webpack-starter

10th
Jul 2015
PatrickJS [tipe.io]
@gdi2290
Jul 10 2015 03:04
@jschwarty I haven’t tried the repo on a Windows machine :/ were you able to get the problem resolved?
Martin
@margru
Jul 10 2015 06:15
Hi, I'm a newbie to TypeScript (so far I've been using just pure Javascript with webpack), so this might seem like a stupid question but I still don't fully understand that: webpack is using typescript-simple loader which should compile TS code into ES5 code. Thus, why traceur is still necessary in the browser? Is it possible to use babel and configure webpack to use it during the build and thus avoid including traceur in the index.html? Thanks for any reply...
PatrickJS [tipe.io]
@gdi2290
Jul 10 2015 07:01
@margru traceur-runtime is only here for ES6 polyfills so it’s not the full version of traceur
Martin
@margru
Jul 10 2015 08:10
@gdi2290 Well, still don't understand why I need ES6 polyfills in the browser when the typescript-simple loader is compiling the source TS code into ES5 and this ES5 code is then included in the index.html, i.e. there should be no ES6 features in the resulting code. I'm sorry but I still don't get it...