Skip to content

Commit

Permalink
fix(@ngtools/webpack): Allow for usage of Angular v6.*.*
Browse files Browse the repository at this point in the history
  • Loading branch information
Brocco committed Jan 19, 2018
1 parent f98bdaa commit 751e6ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/@ngtools/webpack/src/ngtools_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ export function CompilerCliIsSupported() {
+ 'Please clean your node_modules and reinstall.');
}

// Throw if we're neither 2.3.1 or more, nor 4.x.y, nor 5.x.y.
if (!(version.major == '5'
// Throw if we're neither 2.3.1 or more, nor 4.x.y, nor 5.x.y, nor 6.x.y.
if (!(version.major == '6'
|| version.major == '5'
|| version.major == '4'
|| (version.major == '2'
&& (version.minor == '4'
Expand Down

0 comments on commit 751e6ed

Please sign in to comment.