Commit Graph

18 Commits

Author SHA1 Message Date
alex8088
a12646f25e fix: electorn's export subpaths also need to be externalized #372 2024-01-06 11:33:53 +08:00
alex8088
0b265442a1 feat: env variables prefixed with VITE_ will be shared in main process and renderer 2023-12-14 21:14:49 +08:00
alex8088
dbd7b0137b fix: externalizeDepsPlugin not work 2023-12-14 20:46:00 +08:00
alex8088
963f8aba51 fix: emit assets when ssr is enabled 2023-12-13 21:06:40 +08:00
alex8088
c1e1ca0471 feat: support ESM in Electron 2023-12-12 22:40:37 +08:00
alex8088
0367f73a95 fix: remove node resolve condition for preload (#204) 2023-07-07 21:35:12 +08:00
alex8088
4f796e4c8a perf: ignore browser field and additional node condition for main config 2023-06-18 16:33:08 +08:00
alex8088
6dff3475b4 feat: supports ES build target for renderer #174 2023-06-03 22:18:48 +08:00
alex8088
8c924188de revert: chore: remove process env define (#159) 2023-05-14 17:49:04 +08:00
alex8088
3b2ba0ae25 chore: remove process env define 2023-04-18 23:11:33 +08:00
alex8088
1cb7d419a2 perf: alway disable build.modulePreload in main and preload config 2023-03-25 13:21:33 +08:00
alex8088
05e0cc6db1 fix: specified renderer outDir is not parsed correctly 2023-03-10 23:47:17 +08:00
alex8088
336b4292eb feat: static asset handling 2023-01-04 22:53:22 +08:00
alex8088
ad1ca5dcd7 fix: output format check 2022-12-11 21:57:31 +08:00
alex8088
95736032f2 fix: invalid output format check 2022-12-11 21:16:23 +08:00
alex8088
067c333aeb perf: do not externalize node builtin modules for the renderer (#61) 2022-11-19 14:24:12 +08:00
alex8088
41ff7372c2 fix: output format error under multiple entries 2022-11-11 20:40:37 +08:00
alex8088
10f5ae64a3 refactor: plugins 2022-11-08 20:17:22 +08:00