1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 03:33:30 +00:00

build:bit:main works

This commit is contained in:
Derek Nance
2025-12-15 14:46:00 -06:00
parent b07d0ae39b
commit dcd29f0134

View File

@@ -8,6 +8,11 @@ module.exports = (webpackConfig, context) => {
if (isNxBuild) {
return buildConfig({
configName: "Commercial",
renderer: {
entry: "",
entryModule: "",
tsConfig: "",
},
main: {
entry: path.resolve(__dirname, "src/entry.ts"),
tsConfig: path.resolve(context.context.root, "bitwarden_license/bit-desktop/tsconfig.json"),
@@ -17,10 +22,19 @@ module.exports = (webpackConfig, context) => {
} else {
return buildConfig({
configName: "Commercial",
renderer: {
entry: "",
entryModule: "",
tsConfig: "",
},
main: {
entry: path.resolve(__dirname, "src/entry.ts"),
tsConfig: path.resolve(__dirname, "tsconfig.json"),
},
preload: {
entry: "",
tsConfig: "",
},
});
}
};