Skip to content

Commit 596b674

Browse files
committed
fix: esm import
1 parent 849c9d7 commit 596b674

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

electron/main/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ initializeDotenv();
66
initializeLogging();
77
initializeSentry();
88

9-
import './app';
9+
import './app.js';

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"lint:fix": "yarn lint --fix",
4848
"lint:staged": "lint-staged --concurrent 1",
4949
"format": "yarn prettier:fix && yarn lint:fix",
50-
"start": "yarn build && yarn sentry:sourcemaps && electron .",
51-
"start:dev": "yarn build:dev && APP_ENV=development electron .",
50+
"start": "yarn build && yarn sentry:sourcemaps && electron ./electron/build/main/index.js",
51+
"start:dev": "yarn build:dev && APP_ENV=development electron ./electron/build/main/index.js",
5252
"build:common": "yarn clean:common && tsc -p electron/common",
5353
"build:main": "yarn clean:main && tsc -p electron/main",
5454
"build:preload": "yarn clean:preload && tsc -p electron/preload && yarn prettier:fix electron/preload/**/*.d.ts",

0 commit comments

Comments
 (0)