Skip to content

Commit

Permalink
fix: electron-builder configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdrme committed Jan 5, 2025
1 parent 09d5c59 commit 09c17a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
13 changes: 4 additions & 9 deletions electron-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ import { Configuration } from "electron-builder";
const config: Configuration = {
appId: "BeyondAllReason",
productName: "Beyond All Reason",
files: [
"!**/.vscode/*",
"!{src,out,tests,vendor}/*",
"!vite.*.config.{js,ts,mjs,cjs,mts}",
"!{eslint.config.mjs,.prettierignore,prettier.config.mjs,README.md}",
"!{.env,.env.*,.npmrc,pnpm-lock.yaml}",
"!{tsconfig.json,tsconfig.*.json}",
"!{electron-builder.config.ts,forge.config.cjs}",
],

asar: true,
disableDefaultIgnoredFiles: true,
files: ["./.vite/**", "!node_modules", "./node_modules/7zip-bin/**"],
directories: { buildResources: "buildResources" },
asarUnpack: ["resources/**"],

Expand Down
6 changes: 0 additions & 6 deletions vite.renderer.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ export default defineConfig({
},
build: {
sourcemap: true,
rollupOptions: {
output: {
manualChunks: () => "everything.js",
sourcemap: false,
},
},
},
optimizeDeps: {
esbuildOptions: {
Expand Down

0 comments on commit 09c17a6

Please sign in to comment.