X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fpolyfills.ts;h=d862de8d8de7c69c53f43c65ec3fbf4e2d983df3;hb=9e8789497377cac5554a622da605f5b89587aa9c;hp=3c4120599f4d197341fdea9be96acea03d1e07e7;hpb=f36da21e40104a50acb00132920b835240cebb38;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 3c4120599..d862de8d8 100644 --- a/client/src/polyfills.ts +++ b/client/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -import 'core-js/es7/object' +import 'core-js/es/object' /** IE10 and IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. @@ -58,7 +58,7 @@ import 'core-js/es7/object' * Zone JS is required by default for Angular itself. */ // tslint:disable -import 'zone.js/dist/zone' // Included with Angular CLI. +import 'zone.js' // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS @@ -69,3 +69,5 @@ import 'zone.js/dist/zone' // Included with Angular CLI. ;(window as any).global = window ;(window as any).process = require('process/') ;(window as any).Buffer = require('buffer/').Buffer + +import '@angular/localize/init'