mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The Angular Core and localize package currently use deep imports for code that is shipped. This is problematic as we want to ship the compiler-cli as full-ESM. To achieve this we need to use a bundler and this breaks deep imports. We use a bundler for the compiler CLI because for full ESM compatibility, we would need to explicitly add the `.js` extension to all relative imports. This is very cumbersome and prone to mistakes so to mitigate this problem in a safe way, we bundle the compiler-cli. Note: Deep imports continue to exist for the language service as it bundles the compiler-cli. PR Close #43431
17 lines
654 B
TypeScript
17 lines
654 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview The API from compiler-cli that the `@angular/core`
|
|
* package requires for migration schematics.
|
|
*/
|
|
|
|
export {forwardRefResolver} from '../src/ngtsc/annotations';
|
|
export {Reference} from '../src/ngtsc/imports';
|
|
export {DynamicValue, PartialEvaluator, ResolvedValue, ResolvedValueMap, StaticInterpreter} from '../src/ngtsc/partial_evaluator';
|
|
export {reflectObjectLiteral, TypeScriptReflectionHost} from '../src/ngtsc/reflection';
|