X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fpolyfills.ts;h=7c051413f4803db904f98d8ee104e78f01bec75e;hb=1129f2222114e1e541df8760e24c8b68cc919237;hp=3c4120599f4d197341fdea9be96acea03d1e07e7;hpb=f36da21e40104a50acb00132920b835240cebb38;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 3c4120599..7c051413f 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`. @@ -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'