bitwarden-estensione-browser/src/app/polyfills.ts

18 lines
385 B
TypeScript
Raw Normal View History

2018-06-08 05:38:17 +02:00
/* tslint:disable */
import 'core-js/es6';
2018-06-06 15:43:28 +02:00
import 'core-js/es7/reflect';
2018-06-08 05:38:17 +02:00
require('zone.js/dist/zone');
if (process.env.ENV === 'production') {
// 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');
/* tslint:enable */