File tree Expand file tree Collapse file tree 3 files changed +0
-21
lines changed
angular_devkit/build_angular/src Expand file tree Collapse file tree 3 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ export function createCompilerPlugin(
166166 rootNames,
167167 errors : configurationDiagnostics ,
168168 } = compilerCli . readConfiguration ( pluginOptions . tsconfig , {
169- enableIvy : true ,
170169 noEmitOnError : false ,
171170 suppressOutputPathCheck : true ,
172171 outDir : undefined ,
Original file line number Diff line number Diff line change @@ -11,30 +11,11 @@ import { AngularWebpackPlugin } from '@ngtools/webpack';
1111import { ScriptTarget } from 'typescript' ;
1212import { WebpackConfigOptions } from '../../utils/build-options' ;
1313
14- function ensureIvy ( wco : WebpackConfigOptions ) : void {
15- if ( wco . tsConfig . options . enableIvy !== false ) {
16- return ;
17- }
18-
19- wco . logger . warn (
20- 'Project is attempting to disable the Ivy compiler. ' +
21- 'Angular versions 12 and higher do not support the deprecated View Engine compiler for applications. ' +
22- 'The Ivy compiler will be used to build this project. ' +
23- '\nFor additional information or if the build fails, please see https://angular.io/guide/ivy' ,
24- ) ;
25-
26- wco . tsConfig . options . enableIvy = true ;
27- }
28-
2914export function createIvyPlugin (
3015 wco : WebpackConfigOptions ,
3116 aot : boolean ,
3217 tsconfig : string ,
3318) : AngularWebpackPlugin {
34- if ( aot ) {
35- ensureIvy ( wco ) ;
36- }
37-
3819 const { buildOptions } = wco ;
3920 const optimize = buildOptions . optimization . scripts ;
4021
Original file line number Diff line number Diff line change @@ -454,7 +454,6 @@ export class AngularWebpackPlugin {
454454 this . pluginOptions . tsconfig ,
455455 this . pluginOptions . compilerOptions ,
456456 ) ;
457- compilerOptions . enableIvy = true ;
458457 compilerOptions . noEmitOnError = false ;
459458 compilerOptions . suppressOutputPathCheck = true ;
460459 compilerOptions . outDir = undefined ;
You can’t perform that action at this time.
0 commit comments