X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fpolyfills.ts;h=0d0c0453252aa0dcab03bb848a52d7333a488ce9;hb=0a34dfa32165036b380ec6ac493469b34007df0a;hp=9d349d1767f5220a9fcbd53a58cd2ae62789a6b8;hpb=cedffeca6ea3cabc282b753c62a849ca273dfb42;p=osm%2FNG-UI.git diff --git a/src/polyfills.ts b/src/polyfills.ts index 9d349d1..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 @@ -79,6 +69,11 @@ import 'web-animations-js'; // Run `npm install --save web-animations-js`. */ 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 */