From 921ff15be89e32b83c87a98e191cd5de527619c6 Mon Sep 17 00:00:00 2001 From: Sam Lin Date: Fri, 5 May 2017 01:37:37 -0500 Subject: [PATCH] fix: import at least one locale-data with intl 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';