mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-01 13:13:36 +01:00
cb8849c355
* add eslint rule no-floating-promises * add eslint-disable comment to offending lines
20 lines
654 B
TypeScript
20 lines
654 B
TypeScript
import { enableProdMode } from "@angular/core";
|
|
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
|
|
|
|
import "bootstrap";
|
|
import "jquery";
|
|
import "popper.js";
|
|
|
|
require("./scss/styles.scss");
|
|
require("./scss/tailwind.css");
|
|
|
|
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 });
|