You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update typescript dependencies to 2.1.x to simplify Webpack configuration [Angular 2] #210
In our Angular 2 build system we are using a combination of Typescript and Babel to have the best of both transpilers. I'm pretty sure the only reason we were doing this is because we wanted to use rest and spread operators which wasn't supported by Typescript 2.0.x. Typescript 2.1.x now supports those operators so we no longer need to add Babel into the mix and we can simplify the build system.
It looks like from the release notes that CLI beta 23 is supposed to unlock the angular version from 2.2.x but as of right now they haven't released it to npm yet and @ngtools/[email protected] just fails silently when trying to build. Hopefully it will also support typescript 2.1.x
Activity
smithad15 commentedon Dec 19, 2016
I would love to add this in but there is an issue with
@ngtools/webpackwhere AoT fails with any versions higher than:Lets keep an eye on the two affected errors:
Error: ngCompiler.ReflectorHost is not a constructorError: AppModule is not an NgModuleIt looks like from the release notes that CLI beta 23 is supposed to unlock the angular version from 2.2.x but as of right now they haven't released it to npm yet and
@ngtools/[email protected]just fails silently when trying to build. Hopefully it will also support typescript 2.1.x