Skip to content

Commit e975107

Browse files
committed
fix: remove bundling from main process to fix fs require error
1 parent e4b94ac commit e975107

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"dev": "vite",
1010
"build": "npm run build:main && npm run build:renderer",
11-
"build:main": "esbuild src/main/main.ts --bundle --outdir=dist/main --platform=node --external:electron --format=esm",
11+
"build:main": "esbuild src/main/main.ts --outdir=dist/main --platform=node --format=esm",
1212
"build:renderer": "vite build",
1313
"test": "node --test src/main/smoke-tests.ts",
1414
"preview": "vite preview",

0 commit comments

Comments
 (0)