Skip to content

Commit a9baddf

Browse files
maxisamfilipesilva
authored andcommitted
fix(@angular/cli): import at least one locale-data with intl (#6190)
It doesn't work if we just import intl
1 parent b6db02f commit a9baddf

File tree

1 file changed

+4
-0
lines changed
  • packages/@angular/cli/blueprints/ng/files/__path__

1 file changed

+4
-0
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts

+4
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
6666
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
6767
*/
6868
// import 'intl'; // Run `npm install --save intl`.
69+
/**
70+
* Need to import at least one locale-data with intl.
71+
*/
72+
// import 'intl/locale-data/jsonp/en';

0 commit comments

Comments
 (0)