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(
166
166
rootNames,
167
167
errors : configurationDiagnostics ,
168
168
} = compilerCli . readConfiguration ( pluginOptions . tsconfig , {
169
- enableIvy : true ,
170
169
noEmitOnError : false ,
171
170
suppressOutputPathCheck : true ,
172
171
outDir : undefined ,
Original file line number Diff line number Diff line change @@ -11,30 +11,11 @@ import { AngularWebpackPlugin } from '@ngtools/webpack';
11
11
import { ScriptTarget } from 'typescript' ;
12
12
import { WebpackConfigOptions } from '../../utils/build-options' ;
13
13
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
-
29
14
export function createIvyPlugin (
30
15
wco : WebpackConfigOptions ,
31
16
aot : boolean ,
32
17
tsconfig : string ,
33
18
) : AngularWebpackPlugin {
34
- if ( aot ) {
35
- ensureIvy ( wco ) ;
36
- }
37
-
38
19
const { buildOptions } = wco ;
39
20
const optimize = buildOptions . optimization . scripts ;
40
21
Original file line number Diff line number Diff line change @@ -454,7 +454,6 @@ export class AngularWebpackPlugin {
454
454
this . pluginOptions . tsconfig ,
455
455
this . pluginOptions . compilerOptions ,
456
456
) ;
457
- compilerOptions . enableIvy = true ;
458
457
compilerOptions . noEmitOnError = false ;
459
458
compilerOptions . suppressOutputPathCheck = true ;
460
459
compilerOptions . outDir = undefined ;
You can’t perform that action at this time.
0 commit comments