Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git] / src / polyfills.ts
index 9d349d1..0d0c045 100644 (file)
@@ -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
  */