1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00
bitwarden-browser/bitwarden_license/bit-web/src/main.ts

20 lines
692 B
TypeScript
Raw Normal View History

2021-12-17 15:57:11 +01:00
import { enableProdMode } from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
2021-12-17 15:57:11 +01:00
import "bootstrap";
import "jquery";
import "popper.js";
require("@bitwarden/web-vault/scss/styles.scss");
require("@bitwarden/web-vault/scss/tailwind.css");
import { AppModule } from "./app/app.module";
2021-12-17 15:57:11 +01:00
if (process.env.NODE_ENV === "production") {
enableProdMode();
}
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });