We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1be6a4 commit d12ff23Copy full SHA for d12ff23
packages/@ngtools/webpack/src/index.ts
@@ -17,8 +17,9 @@ if (compilerCliPath.startsWith(path.dirname(__dirname))) {
17
+ 'Please clean your node_modules and reinstall.');
18
}
19
20
-// Throw if we're neither 2.3.1 or more, nor 4.x.y.
21
-if (!( version.major == '4'
+// Throw if we're neither 2.3.1 or more, nor 4.x.y, nor 5.x.y.
+if (!( version.major == '5'
22
+ || version.major == '4'
23
|| (version.major == '2'
24
&& ( version.minor == '4'
25
|| version.minor == '3' && version.patch == '1')))) {
0 commit comments