Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update typescript dependencies to 2.1.x to simplify Webpack configuration [Angular 2] #210

Open
barretodavid opened this issue Dec 8, 2016 · 1 comment

Comments

@barretodavid
Copy link

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.

@smithad15
Copy link
Contributor

I would love to add this in but there is an issue with @ngtools/webpack where AoT fails with any versions higher than:

  • angular: 2.2.4
  • router: 3.2.4
  • typescript: 2.0.10

Lets keep an eye on the two affected errors:

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/webpack@1.2.0 just fails silently when trying to build. Hopefully it will also support typescript 2.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants