mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-12004] Fix ~60 compile warnings in webpack for web (#11004)
This commit is contained in:
5
apps/web/tsconfig.build.json
Normal file
5
apps/web/tsconfig.build.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"files": ["src/polyfills.ts", "src/main.ts", "src/theme.ts"],
|
||||
"include": ["src/connectors/*.ts", "../../libs/common/src/platform/services/**/*.worker.ts"]
|
||||
}
|
||||
@@ -178,7 +178,7 @@ const plugins = [
|
||||
ADDITIONAL_REGIONS: envConfig["additionalRegions"] ?? [],
|
||||
}),
|
||||
new AngularWebpackPlugin({
|
||||
tsConfigPath: "tsconfig.json",
|
||||
tsconfig: "tsconfig.build.json",
|
||||
entryModule: "src/app/app.module#AppModule",
|
||||
sourceMap: true,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user