mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(core): mark VERSION exports as pure for better tree-shaking
Adds a PURE annotation to VERSION constants, enabling tree-shaking
and keeping the implementation consistent with other pure exports.
(cherry picked from commit abb179466d)
This commit is contained in:
parent
d4799c1e82
commit
b9d7455d9c
2 changed files with 2 additions and 2 deletions
|
|
@ -13,4 +13,4 @@
|
|||
*/
|
||||
import {Version} from '@angular/core';
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
export const VERSION = /* @__PURE__ */ new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
|
||||
import {APP_ID, effect, inject, Injector, untracked} from '@angular/core';
|
||||
import {APP_ID, effect, Injector, untracked} from '@angular/core';
|
||||
import type {FieldNodeStructure} from './structure';
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue