Skip to content

Commit d1020e3

Browse files
committed
🤖 fix: revert tsconfig.main.json include changes
The added includes caused dist/main.js to output as dist/src/main.js, breaking electron-builder. The original config only includes main.ts and constants, which TypeScript then follows to include dependencies. _Generated with `cmux`_
1 parent fb2c67a commit d1020e3

File tree

3 files changed

+89
-13
lines changed

3 files changed

+89
-13
lines changed

tests/testUtils.js

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

tests/testUtils.js.map

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

tsconfig.main.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@
66
"noEmit": false,
77
"sourceMap": true
88
},
9-
"include": [
10-
"src/main.ts",
11-
"src/constants/**/*",
12-
"src/services/**/*",
13-
"src/utils/**/*",
14-
"src/types/**/*"
15-
],
16-
"exclude": [
17-
"src/App.tsx",
18-
"src/main.tsx",
19-
"src/utils/tokens/tokenStats.worker.ts",
20-
"src/utils/tokens/TokenStatsWorker.ts"
21-
]
9+
"include": ["src/main.ts", "src/constants/**/*"],
10+
"exclude": ["src/App.tsx", "src/main.tsx"]
2211
}

0 commit comments

Comments
 (0)