Skip to content

Commit 279443e

Browse files
1 parent f47b6d4 commit 279443e

4 files changed

Lines changed: 33 additions & 1 deletion

File tree

electron-builder.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,28 @@ files:
1414
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
1515
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
1616
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
17+
- from: node_modules/math-intrinsics
18+
to: node_modules/math-intrinsics
19+
- from: node_modules/get-intrinsic
20+
to: node_modules/get-intrinsic
21+
- from: node_modules/call-bind
22+
to: node_modules/call-bind
23+
- from: node_modules/call-bound
24+
to: node_modules/call-bound
25+
- from: node_modules/es-define-property
26+
to: node_modules/es-define-property
27+
- from: node_modules/es-errors
28+
to: node_modules/es-errors
29+
- from: node_modules/function-bind
30+
to: node_modules/function-bind
31+
- from: node_modules/has-proto
32+
to: node_modules/has-proto
33+
- from: node_modules/has-symbols
34+
to: node_modules/has-symbols
35+
- from: node_modules/hasown
36+
to: node_modules/hasown
37+
- from: node_modules/set-function-length
38+
to: node_modules/set-function-length
1739
asarUnpack:
1840
- resources/**
1941
afterPack: ./scripts/afterPack.cjs

electron.vite.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import { defineConfig } from 'electron-vite'
33
import react from '@vitejs/plugin-react'
44

55
export default defineConfig({
6-
main: {},
6+
main: {
7+
build: {
8+
rollupOptions: {
9+
external: []
10+
}
11+
}
12+
},
713
preload: {},
814
renderer: {
915
resolve: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"express": "^5.2.1",
4343
"i18next": "^25.8.14",
4444
"json-rules-engine": "^7.3.1",
45+
"math-intrinsics": "^1.1.0",
4546
"mica-electron": "^1.5.16",
4647
"os": "^0.1.2",
4748
"pg": "^8.19.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)