Commit graph

68 commits

Author SHA1 Message Date
alex.wei 72d37a70ca
Merge pull request #139 from gknapp/config-error-messages
fix(dev): Rephrase config error messages, fix typo 'electorn'
2023-04-03 09:51:47 +08:00
Greg Knapp c0d9ad3fd5
Rephase certain error messages, fix typo 'electorn' 2023-03-31 16:37:15 +01:00
alex8088 6c6db628f6 fix(bytecodePlugin): sub-chunks are not compliled in vite 4 2023-03-26 23:08:52 +08:00
alex8088 f33c86383e fix(bytecodePlugin): bytecode loader is not referenced correctly in the chunks 2023-03-26 21:17:29 +08:00
alex8088 1cb7d419a2 perf: alway disable build.modulePreload in main and preload config 2023-03-25 13:21:33 +08:00
alex8088 5ad0747f32 feat: support for renderer debugging (#130) 2023-03-11 20:29:06 +08:00
alex8088 f7f19f9649 fix(bytecodePlugin): not work in monorepo (#128) 2023-03-11 00:15:19 +08:00
alex8088 05e0cc6db1 fix: specified renderer outDir is not parsed correctly 2023-03-10 23:47:17 +08:00
alex8088 55be651207 fix(asset): asset path is not resolved correctly when outDir is specified #117 2023-03-10 23:46:57 +08:00
alex8088 a84ae9e7e0 perf: print log 2023-03-05 18:21:31 +08:00
alex8088 b0fc657db4 perf: build compatilibity target for Electron 23 2023-02-08 21:35:49 +08:00
alex8088 c3567edba9 fix(bytecodePlugin): escape protected strings 2023-02-05 21:41:01 +08:00
alex8088 32d78f2f42 feat(bytecodePlugin): protect strings #91 2023-01-30 22:00:33 +08:00
alex8088 44af7960a2 fix(asset): wasm must be suffixed with ?loader 2023-01-13 21:32:54 +08:00
alex8088 b3208d3dae feat(asset): support for WebAssembly in the main process 2023-01-10 21:53:38 +08:00
alex8088 62e8be1c34 chore(worker): use toRelativePath helper 2023-01-07 12:57:09 +08:00
alex8088 336b4292eb feat: static asset handling 2023-01-04 22:53:22 +08:00
alex8088 f7b4146c56 fix: output duplicate log in vscode debugging #75 2022-12-28 21:54:20 +08:00
alex8088 a5de5b36f5 chore(bytecodePlugin): KiB to kB 2022-12-28 21:27:53 +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 d086e0d51a fix: NODE_ENV is incorrect in vite 4.x 2022-12-10 23:26:10 +08:00
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 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