1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-26 13:13:22 +00:00

[PM-12004] Fix ~60 compile warnings in webpack for web (#11004)

This commit is contained in:
Oscar Hinton
2024-09-19 15:00:07 +02:00
committed by GitHub
parent 6ffd85c42c
commit e5bb2e58a6
4 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
{
"extends": "./tsconfig",
"files": [
"../../apps/web/src/polyfills.ts",
"../../apps/web/src/main.ts",
"../../apps/web/src/theme.ts",
"../../bitwarden_license/bit-web/src/main.ts"
],
"include": [
"../../apps/web/src/connectors/*.ts",
"../../libs/common/src/platform/services/**/*.worker.ts"
]
}

View File

@@ -4,7 +4,7 @@ const webpackConfig = require("../../apps/web/webpack.config");
webpackConfig.entry["app/main"] = "../../bitwarden_license/bit-web/src/main.ts";
webpackConfig.plugins[webpackConfig.plugins.length - 1] = new AngularWebpackPlugin({
tsconfig: "../../bitwarden_license/bit-web/tsconfig.json",
tsconfig: "../../bitwarden_license/bit-web/tsconfig.build.json",
entryModule: "bitwarden_license/src/app/app.module#AppModule",
sourceMap: true,
});