Skip to content

Commit 7d8f54a

Browse files
filipesilvaBrocco
authored andcommitted
fix(@ngtools/webpack): allow Angular 5.0.0
1 parent d5d0b07 commit 7d8f54a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/@ngtools/webpack/src/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ if (compilerCliPath.startsWith(path.dirname(__dirname))) {
1717
+ 'Please clean your node_modules and reinstall.');
1818
}
1919

20-
// Throw if we're neither 2.3.1 or more, nor 4.x.y.
21-
if (!( version.major == '4'
20+
// Throw if we're neither 2.3.1 or more, nor 4.x.y, nor 5.x.y.
21+
if (!( version.major == '5'
22+
|| version.major == '4'
2223
|| (version.major == '2'
2324
&& ( version.minor == '4'
2425
|| version.minor == '3' && version.patch == '1')))) {

0 commit comments

Comments
 (0)