From 1cc979fbef53c6c376bca41414616c2c112921f7 Mon Sep 17 00:00:00 2001 From: Sam Lin Date: Tue, 9 May 2017 05:15:49 -0500 Subject: [PATCH] fix(@angular/cli): import at least one locale-data with intl (#6190) It doesn't work if we just import intl --- .../@angular/cli/blueprints/ng/files/__path__/polyfills.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts b/packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts index 53bdaf1b8642..bc94e7a6d48c 100644 --- a/packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts +++ b/packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts @@ -66,3 +66,7 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 */ // import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en';