Commit graph

232 commits

Author SHA1 Message Date
alex8088 16d9932bac feat: specify env prefixes for vite's loadEnv and export it 2022-12-04 01:59:03 +08:00
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 e72e1ea056 release: v1.0.14 2022-11-13 01:28:47 +08:00
alex8088 23ae7636cd fix(bytecodePlugin): replace bytecode module regex (#54) 2022-11-13 01:19:58 +08:00
alex8088 21e10c023a docs: update 2022-11-12 00:18:46 +08:00
alex8088 230d09c2a0 release: v1.0.13 2022-11-11 21:23:16 +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 f81f57efbf release: v1.0.12 2022-11-02 02:00:30 +08:00
alex8088 1668547dbf docs: update 2022-11-02 01:56:45 +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 39f548a30a chore: update deps 2022-11-01 22:58:32 +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
alex.wei a62b20359b
Merge pull request #39 from ianstormtaylor/patch-1
perf: use `require.resolve` to find electron package
2022-10-23 01:39:20 +08:00
Ian Storm Taylor d0476dd91e
Use require.resolve to find electron package
Fixes #38
2022-10-21 13:22:01 -04:00
alex8088 229c398235 release: v1.0.11 2022-10-16 14:35:07 +08:00
alex8088 f09a482c66 feat: externalize deps plugin 2022-10-15 14:53:33 +08:00
alex8088 f8749646ee chore: update issue template docs link 2022-10-08 00:19:32 +08:00
alex8088 811e6a1e1e release: v1.0.10 2022-10-07 13:49:51 +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 6e04db0a14 docs: update 2022-09-19 20:56:51 +08:00
alex8088 555d4b43a9 release: v1.0.9 2022-09-19 18:36:51 +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 da50aa9246 docs: update 2022-09-19 03:09:30 +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 4e53a28650 docs: update 2022-09-11 17:41:06 +08:00
alex8088 5db96e2a36 docs: update 2022-09-11 17:37:48 +08:00
alex8088 bf27b464d9 release: v1.0.8 2022-09-11 17:00:07 +08:00
alex8088 2132eccb28 docs: update 2022-09-11 16:54: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