Explore
Sign In
skills/angular__angular
1
0
Fork 0
You've already forked angular__angular
mirror of https://github.com/angular/angular.git synced 2026-09-14 13:54:52 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
807c6a4e10231a8e9386bf7daf3da3498d1663fa
angular__angular/packages/compiler-cli/private/bazel.ts
T

15 lines
363 B
TypeScript
Raw Normal View History

refactor: switch packages away from deep cross-package imports (#43431) 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
2021-09-18 18:01:08 +02:00
/**
* @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/bazel`
* package requires for ngc-wrapped.
*/
export {PerfPhase} from '../src/ngtsc/perf';
Reference in New Issue Copy Permalink
Version: v1.25.5 Page: 1493ms Template: 25ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어