Commit graph

45 commits

Author SHA1 Message Date
alex8088 ffb2426e75 feat: support mode and command conditional config 2022-12-04 01:24:25 +08:00
alex8088 767aee7464 perf: build compatilibity target for Electron 22 2022-12-01 21:33:05 +08:00
alex8088 067c333aeb perf: do not externalize node builtin modules for the renderer (#61) 2022-11-19 14:24:12 +08:00
alex8088 23ae7636cd fix(bytecodePlugin): replace bytecode module regex (#54) 2022-11-13 01:19:58 +08:00
alex8088 baf538cfe4 fix(bytecodePlugin): bytecode loader injection and chunk module parsing errors (#49) 2022-11-11 20:48:23 +08:00
alex8088 41ff7372c2 fix: output format error under multiple entries 2022-11-11 20:40:37 +08:00
alex8088 cf1151ef5f fix: incorrect replace __dirname/_filename 2022-11-08 20:29:44 +08:00
alex8088 10f5ae64a3 refactor: plugins 2022-11-08 20:17:22 +08:00
alex8088 28d069c453 feat: support for node worker (#51) 2022-11-08 00:36:22 +08:00
alex8088 bf0c83835a fix: unreachable code 2022-11-02 23:51:42 +08:00
alex8088 97ad5fa726 feat: make a SWC plugin to emit decorator metadata (#48) 2022-11-02 01:34:19 +08:00
alex8088 6bae6ac6b4 fix: use modulePreload.polyfill instead polyfillModulePreload 2022-11-01 23:06:22 +08:00
alex8088 caafa1355d feat: add --skipBuild flag to preview command (#44) 2022-10-29 13:10:20 +08:00
alex8088 97a62b75f2 feat: monorepo support 2022-10-23 21:23:27 +08:00
Ian Storm Taylor d0476dd91e
Use require.resolve to find electron package
Fixes #38
2022-10-21 13:22:01 -04:00
alex8088 f09a482c66 feat: externalize deps plugin 2022-10-15 14:53:33 +08:00
alex8088 59e1d93166 fix: compatible with the latest version of Electron 2022-10-07 13:36:50 +08:00
alex8088 c49068258d perf: build compatilibity target for Electron 21 2022-09-27 20:40:32 +08:00
alex8088 cf08073f08 perf: bytecode compilation log print format 2022-09-26 19:44:54 +08:00
alex8088 969dc30e50 perf: disable gzip-compressed size reporting, increase build performance 2022-09-26 19:35:09 +08:00
alex8088 fab097e367 feat: export splitVendorChunk from vite 2022-09-25 00:33:44 +08:00
alex8088 51b9f74457 refactor: load config file 2022-09-25 00:18:13 +08:00
alex8088 dd6322f9c8 chore: function style 2022-09-24 23:58:10 +08:00
alex8088 8556a45cab perf: the bytecodePlugin transform arrow function by default 2022-09-22 18:54:29 +08:00
alex8088 19bfb2a829 fix: in the specified non-production mode, the base path is wrong 2022-09-19 18:33:56 +08:00
alex8088 556fe95f20 fix: specify a config file error 2022-09-19 18:32:39 +08:00
alex8088 9132b24751 feat: source code protection 2022-09-19 03:06:37 +08:00
alex8088 4779bcf911 chore: add electron-vite mode node env 2022-09-18 17:06:06 +08:00
alex8088 cd0bbb6cfb perf: cache electron executable path 2022-09-18 01:46:02 +08:00
alex8088 c6bade23b5 chore: use node prefix 2022-09-17 23:47:48 +08:00
alex8088 714798fd56 chore: disable build.watch in production 2022-09-09 01:28:36 +08:00
alex8088 1bd15486ea feat: main process and preload scripts support hot reloading (#7) 2022-09-08 23:49:30 +08:00
alex8088 b62b8ec0bb feat: add sourcemap cli options for debugging 2022-08-29 18:35:21 +08:00
alex8088 7a60cce781 feat: define env prefix 2022-08-20 20:33:14 +08:00
alex8088 cec47266bd perf: build target for Electron 20 2022-08-08 19:19:49 +08:00
alex8088 71dc5fd18b fix: can not get import meta env variables in renderer #10 2022-08-08 19:14:08 +08:00
alex8088 04abdda294 fix: error occurs when the preload config is a function 2022-07-03 15:29:19 +08:00
xiaohui c568348fc9 fix: ELECTRON_RENDERER_URL is incorrect 2022-06-20 00:38:05 +08:00
alex8088 c71d5aa661 feat: add sqlite3 module to rollup external option 2022-06-05 12:28:18 +08:00
alex8088 1a0130ab4f fix: throw error when vite.config.* file in root (#3) 2022-05-01 00:18:21 +08:00
alex8088 74cc7f4adc feat: export splitVendorChunkPlugin from vite 2022-04-27 00:09:13 +08:00
alex8088 6bc7d6f6e1 perf: build target for Electron 19 2022-04-09 16:24:43 +08:00
alex8088 a5c3e6b230 fix: an error occurred when TSconfig file changed 2022-03-31 20:13:41 +08:00
alex8088 82477b6db2 perf: no need to polyfill module preload for the Electron renderer 2022-03-28 11:52:42 +08:00
alex8088 ef99b02b18 chore: init 2022-03-17 16:21:02 +08:00