mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Apply Prettier (#1347)
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
/* tslint:disable */
|
||||
import 'core-js/stable';
|
||||
require('zone.js/dist/zone');
|
||||
import "core-js/stable";
|
||||
require("zone.js/dist/zone");
|
||||
|
||||
// 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;
|
||||
Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
// Production
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
// Production
|
||||
} else {
|
||||
// Development and test
|
||||
Error['stackTraceLimit'] = Infinity;
|
||||
require('zone.js/dist/long-stack-trace-zone');
|
||||
// Development and test
|
||||
Error["stackTraceLimit"] = Infinity;
|
||||
require("zone.js/dist/long-stack-trace-zone");
|
||||
}
|
||||
|
||||
// Other polyfills
|
||||
require('whatwg-fetch');
|
||||
require('webcrypto-shim');
|
||||
require('date-input-polyfill');
|
||||
require("whatwg-fetch");
|
||||
require("webcrypto-shim");
|
||||
require("date-input-polyfill");
|
||||
/* tslint:enable */
|
||||
|
||||
Reference in New Issue
Block a user