refactor(ivy): do not deep import from ngtsc into ngcc (#24897)
PR Close #24897
This commit is contained in:
parent
43d0e3dd72
commit
a87d44c187
|
@ -7,9 +7,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as ts from 'typescript';
|
import * as ts from 'typescript';
|
||||||
import {Decorator} from '../../../ngtsc/host';
|
import {ClassMember, ClassMemberKind, Decorator} from '../../../ngtsc/host';
|
||||||
import {ClassMember, ClassMemberKind} from '../../../ngtsc/host/src/reflection';
|
import {reflectObjectLiteral} from '../../../ngtsc/metadata';
|
||||||
import {reflectObjectLiteral} from '../../../ngtsc/metadata/src/reflector';
|
|
||||||
import {CONSTRUCTOR_PARAMS, Esm2015ReflectionHost, getPropertyValueFromSymbol} from './esm2015_host';
|
import {CONSTRUCTOR_PARAMS, Esm2015ReflectionHost, getPropertyValueFromSymbol} from './esm2015_host';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -14,7 +14,7 @@ import {SourceMapConsumer, SourceMapGenerator, RawSourceMap} from 'source-map';
|
||||||
import {Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler';
|
import {Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler';
|
||||||
import {AnalyzedClass, AnalyzedFile} from '../analyzer';
|
import {AnalyzedClass, AnalyzedFile} from '../analyzer';
|
||||||
import {Decorator} from '../../../ngtsc/host';
|
import {Decorator} from '../../../ngtsc/host';
|
||||||
import {ImportManager, translateStatement} from '../../../ngtsc/transform/src/translator';
|
import {ImportManager, translateStatement} from '../../../ngtsc/transform';
|
||||||
|
|
||||||
interface SourceMapInfo {
|
interface SourceMapInfo {
|
||||||
source: string;
|
source: string;
|
||||||
|
|
|
@ -9,3 +9,4 @@
|
||||||
export * from './src/api';
|
export * from './src/api';
|
||||||
export {IvyCompilation} from './src/compilation';
|
export {IvyCompilation} from './src/compilation';
|
||||||
export {ivyTransformFactory} from './src/transform';
|
export {ivyTransformFactory} from './src/transform';
|
||||||
|
export {ImportManager, translateStatement} from './src/translator';
|
Loading…
Reference in New Issue