nrwl/nx

▲ [WARNING] Polyfill for "@angular/localize/init" was added automatically.

jeffschulzusc opened this issue · 1 comments

Current Behavior

▲ [WARNING] Polyfill for "@angular/localize/init" was added automatically. [plugin angular-polyfills]
In the future, this functionality will be removed. Please add this polyfill in the "polyfills" section of your "angular.json" instead.

is automatically adding, but is already in project.json by way of file reference:
"options": {
...
"polyfills": "apps/vha/src/polyfills.ts",

and in my polyfills.ts file i have specified:
import '@angular/localize/init';

Expected Behavior

should recognize us of polyfills.ts file ?

GitHub Repo

No response

Steps to Reproduce

  1. nx build a project with the above scenario

Nx Report

Node   : 22.11.0
OS     : darwin-arm64
yarn   : 1.22.22

nx (global)        : 20.2.2
nx                 : 19.5.0
@nx/js             : 19.5.0
@nx/jest           : 19.5.0
@nx/linter         : 19.5.0
@nx/eslint         : 19.5.0
@nx/workspace      : 19.5.0
@nx/angular        : 19.5.0
@nx/cypress        : 19.5.0
@nx/devkit         : 19.5.0
@nx/eslint-plugin  : 19.5.0
@nx/nest           : 19.5.0
@nx/node           : 19.5.0
@nrwl/tao          : 19.5.0
@nx/web            : 19.5.0
@nx/webpack        : 19.5.0
nx-cloud           : 19.1.0
typescript         : 5.5.4
---------------------------------------
Community plugins:
@capacitor/angular   : 2.0.3
@jsverse/transloco   : 7.5.0
@ngrx/effects        : 18.1.1
@ngrx/entity         : 18.1.1
@ngrx/operators      : 18.1.1
@ngrx/router-store   : 18.1.1
@ngrx/schematics     : 18.1.1
@ngrx/signals        : 18.1.1
@ngrx/store          : 18.1.1
@ngrx/store-devtools : 18.1.1

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response