Commit 04d848f
committed
Use electron-vite's
electron-vite has a `?modulePath` vite plugin that compiles the
import and returns an absolute path, so we don't need to use tsx
to compile and execute the typescript directly.
Vanilla vite has a `?worker` plugin but that's only for webworkers;
support for node workers is stalled
(vitejs/vite#3932).?modulePath instead of tsx for workers1 parent 5fbc02d commit 04d848f
3 files changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 63 | + | |
72 | 64 | | |
73 | 65 | | |
74 | 66 | | |
| |||
0 commit comments