X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fpolyfills.ts;h=0d0c0453252aa0dcab03bb848a52d7333a488ce9;hb=refs%2Fchanges%2F55%2F13955%2F1;hp=5167690e7668e56a1a7c7fb1417839aa029dec55;hpb=3b4814aa2d3dec621dadb52f058ba95a3dc3a86a;p=osm%2FNG-UI.git diff --git a/src/polyfills.ts b/src/polyfills.ts index 5167690..0d0c045 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -38,17 +38,7 @@ import '@angular/localize/init'; /*************************************************************************************************** * BROWSER POLYFILLS - */ - -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - */ -import 'web-animations-js'; // Run `npm install --save web-animations-js`. + */ // Run `npm install --save web-animations-js`. /** * By default, zone.js will patch all possible macroTask and DomEvents @@ -77,7 +67,12 @@ import 'web-animations-js'; // Run `npm install --save web-animations-js`. /*************************************************************************************************** * Zone JS is required by default for Angular itself. */ -import 'zone.js/dist/zone'; // Included with Angular CLI. +import 'zone.js'; // Included with Angular CLI. + +// eslint-disable-next-line @typescript-eslint/no-explicit-any +(window as any).process = { + env: { DEBUG: undefined } + }; /*************************************************************************************************** * APPLICATION IMPORTS