mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 23:15:56 +08:00
refactor(@ngtools/webpack): remove deep import into @angular/compiler-cli
A deep import was previously used to access the `NgtscProgram` class. However, this class is now accessible as a standard import from the main module.
This commit is contained in:
parent
19eb5cb425
commit
c5e3a8b303
@ -6,8 +6,12 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import { CompilerHost, CompilerOptions, readConfiguration } from '@angular/compiler-cli';
|
||||
import { NgtscProgram } from '@angular/compiler-cli/src/ngtsc/program';
|
||||
import {
|
||||
CompilerHost,
|
||||
CompilerOptions,
|
||||
NgtscProgram,
|
||||
readConfiguration,
|
||||
} from '@angular/compiler-cli';
|
||||
import { createHash } from 'crypto';
|
||||
import * as ts from 'typescript';
|
||||
import type { Compilation, Compiler, Module, NormalModule } from 'webpack';
|
||||
|
Loading…
x
Reference in New Issue
Block a user