1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-01 13:13:36 +01:00
bitwarden-browser/apps/web/src/main.ts
Oscar Hinton 339768947b
[PM-8771] Migrate the 404 page to Tailwind (#10116)
Redesign our 404 page and update to use Tailwind components.
2024-07-30 12:25:24 +02:00

17 lines
590 B
TypeScript

import { enableProdMode } from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import "bootstrap";
import "jquery";
import "popper.js";
import { AppModule } from "./app/app.module";
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 });