1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-02 13:23:29 +01:00
bitwarden-browser/apps/web/src/main.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
654 B
TypeScript
Raw Normal View History

2018-06-05 05:10:41 +02:00
import { enableProdMode } from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
2018-06-06 15:43:28 +02:00
import "bootstrap";
import "jquery";
import "popper.js";
require("./scss/styles.scss");
require("./scss/tailwind.css");
2018-06-05 05:10:41 +02:00
import { AppModule } from "./app/app.module";
2018-06-05 05:10:41 +02:00
if (process.env.NODE_ENV === "production") {
2018-06-05 06:31:06 +02:00
enableProdMode();
}
2018-06-05 05:10:41 +02:00
// 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
2018-09-13 17:57:28 +02:00
platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });