mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
14 lines
611 B
TypeScript
14 lines
611 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
|
||
|
|
*/
|
||
|
|
|
||
|
|
|
||
|
|
// Note: The `__ESM_IMPORT_META_URL__` identifier will be defined as part of bundling.
|
||
|
|
// We cannot use `import.meta.url` directly as this code currently still runs in CommonJS
|
||
|
|
// for devmode. This is a solution allowing for both ESModule and CommonJS to run this file.
|
||
|
|
// TODO(devversion): replace all of this with `import.meta.url` once devmode is using ESM.
|
||
|
|
declare const __ESM_IMPORT_META_URL__: string;
|