2018-06-08 05:38:17 +02:00
|
|
|
/* tslint:disable */
|
2021-04-22 21:29:29 +02:00
|
|
|
import 'core-js/stable';
|
2018-06-08 05:38:17 +02:00
|
|
|
require('zone.js/dist/zone');
|
|
|
|
|
2019-02-20 04:00:55 +01:00
|
|
|
// IE11 fix, ref: https://github.com/angular/angular/issues/24769
|
|
|
|
if (!Element.prototype.matches && (Element.prototype as any).msMatchesSelector) {
|
|
|
|
Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
|
|
|
|
}
|
|
|
|
|
2021-07-23 20:03:14 +02:00
|
|
|
if (process.env.NODE_ENV === 'production') {
|
2018-06-08 05:38:17 +02:00
|
|
|
// Production
|
|
|
|
} else {
|
|
|
|
// Development and test
|
|
|
|
Error['stackTraceLimit'] = Infinity;
|
|
|
|
require('zone.js/dist/long-stack-trace-zone');
|
|
|
|
}
|
2018-06-06 15:43:28 +02:00
|
|
|
|
2018-06-08 05:38:17 +02:00
|
|
|
// Other polyfills
|
|
|
|
require('whatwg-fetch');
|
|
|
|
require('webcrypto-shim');
|
2021-03-08 22:10:16 +01:00
|
|
|
require('date-input-polyfill');
|
2018-06-08 05:38:17 +02:00
|
|
|
/* tslint:enable */
|