@@ -20,19 +20,19 @@ import { platform } from 'node:os';
20
20
import * as path from 'node:path' ;
21
21
import { pathToFileURL } from 'node:url' ;
22
22
import ts from 'typescript' ;
23
- import { maxWorkers } from '../../utils/environment-options' ;
24
- import { JitCompilation } from './angular/jit-compilation' ;
25
- import { setupJitPluginCallbacks } from './angular/jit-plugin-callbacks' ;
26
- import { AngularCompilation , FileEmitter } from './angular-compilation' ;
27
- import { AngularHostOptions } from './angular-host' ;
28
- import { JavaScriptTransformer } from './javascript-transformer' ;
23
+ import { maxWorkers } from '../../../utils/environment-options' ;
24
+ import { JavaScriptTransformer } from '../javascript-transformer' ;
29
25
import {
30
26
logCumulativeDurations ,
31
27
profileAsync ,
32
28
profileSync ,
33
29
resetCumulativeDurations ,
34
- } from './profiling' ;
35
- import { BundleStylesheetOptions , bundleComponentStylesheet } from './stylesheets' ;
30
+ } from '../profiling' ;
31
+ import { BundleStylesheetOptions , bundleComponentStylesheet } from '../stylesheets' ;
32
+ import { AngularHostOptions } from './angular-host' ;
33
+ import { AotCompilation , FileEmitter } from './aot-compilation' ;
34
+ import { JitCompilation } from './jit-compilation' ;
35
+ import { setupJitPluginCallbacks } from './jit-plugin-callbacks' ;
36
36
37
37
/**
38
38
* Converts TypeScript Diagnostic related information into an esbuild compatible note object.
@@ -166,7 +166,7 @@ export function createCompilerPlugin(
166
166
const javascriptTransformer = new JavaScriptTransformer ( pluginOptions , maxWorkers ) ;
167
167
168
168
const { GLOBAL_DEFS_FOR_TERSER_WITH_AOT , readConfiguration } =
169
- await AngularCompilation . loadCompilerCli ( ) ;
169
+ await AotCompilation . loadCompilerCli ( ) ;
170
170
171
171
// Setup defines based on the values provided by the Angular compiler-cli
172
172
build . initialOptions . define ??= { } ;
@@ -239,7 +239,7 @@ export function createCompilerPlugin(
239
239
240
240
let stylesheetMetafiles : Metafile [ ] ;
241
241
242
- let compilation : AngularCompilation | undefined ;
242
+ let compilation : AotCompilation | undefined ;
243
243
244
244
build . onStart ( async ( ) => {
245
245
const result : OnStartResult = {
@@ -291,7 +291,7 @@ export function createCompilerPlugin(
291
291
if ( pluginOptions . jit ) {
292
292
compilation ??= new JitCompilation ( ) ;
293
293
} else {
294
- compilation ??= new AngularCompilation ( ) ;
294
+ compilation ??= new AotCompilation ( ) ;
295
295
}
296
296
297
297
// Initialize the Angular compilation for the current build.
0 commit comments