Browse Source

angular9 needs @angular/localize to be imported

pull/2883/head
Jorge Rocha Gualtieri 7 years ago
parent
commit
841e29f626
  1. 4
      npm/ng-packs/apps/dev-app/src/polyfills.ts
  2. 1
      npm/ng-packs/packages/theme-shared/ng-package.json
  3. 1
      npm/ng-packs/packages/theme-shared/package.json

4
npm/ng-packs/apps/dev-app/src/polyfills.ts

@ -1,3 +1,7 @@
/***************************************************************************************************
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
*/
import '@angular/localize/init';
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.

1
npm/ng-packs/packages/theme-shared/ng-package.json

@ -7,6 +7,7 @@
"whitelistedNonPeerDependencies": [
"@abp/ng.core",
"@angular/cdk",
"@angular/localize",
"@fortawesome/fontawesome-free",
"@ng-bootstrap/ng-bootstrap",
"@ngx-validate/core",

1
npm/ng-packs/packages/theme-shared/package.json

@ -9,6 +9,7 @@
"dependencies": {
"@abp/ng.core": "^2.1.0",
"@angular/cdk": "^9.0.1",
"@angular/localize": "^9.0.2",
"@fortawesome/fontawesome-free": "^5.11.2",
"@ng-bootstrap/ng-bootstrap": "^5.1.4",
"@ngx-validate/core": "^0.0.7",

Loading…
Cancel
Save