mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
This commit restructures the webpack configs for each project (i.e. web, browser, desktop, cli) such that each project has a base config that is shared in a way that requires less hard-coding of info, and more like simply calling a function with a few properties.
19 lines
409 B
JavaScript
19 lines
409 B
JavaScript
const { buildConfig } = require("./webpack.base");
|
|
|
|
module.exports = buildConfig({
|
|
configName: "OSS",
|
|
renderer: {
|
|
entry: "./src/app/main.ts",
|
|
entryModule: "src/app/app.module#AppModule",
|
|
tsConfig: "./tsconfig.renderer.json",
|
|
},
|
|
main: {
|
|
entry: "./src/entry.ts",
|
|
tsConfig: "./tsconfig.json",
|
|
},
|
|
preload: {
|
|
entry: "./src/preload.ts",
|
|
tsConfig: "./tsconfig.json",
|
|
},
|
|
});
|