Skip to content

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

Open

Description

@barretodavid

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.

Activity

  1. smithad15 commented on Dec 19, 2016

    @smithad15
    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/[email protected] 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions