Commit graph

83 commits

Author SHA1 Message Date
alex8088 566f88960e fix(externalizeDepsPlugin): supports subpath 2023-09-07 22:06:47 +08:00
Yoni Rapoport 27acfb7c1d
Support subpath imports from externalized dependencies
Using an array of regular expressions for rollupOptions.external, I've fixed an issue causing subpath imports or external dependencies (e.g. import {} from 'pkg/subpath') to be bundled.
2023-08-15 14:37:48 +03:00
alex8088 d8307e8fd4 chore: update user config interface jsdoc 2023-07-30 17:00:41 +08:00
alex8088 342a0556cd perf: spawn Electron process using parent's stdios (#236) 2023-07-29 01:44:26 +08:00
alex8088 9d76799072 feat(cli): add CLI --inspect[-brk] to support debugging without IDEs (#231) 2023-07-27 00:33:28 +08:00
alex8088 ed13174829 fix(asset): asset handling error when hot reloading 2023-07-11 00:00:14 +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 3def0ed84b fix(bytecodePlugin): bytecode loader relative path is incorrect 2023-06-18 16:21:38 +08:00
alex8088 6dff3475b4 feat: supports ES build target for renderer #174 2023-06-03 22:18:48 +08:00
alex8088 c26a9ff71c perf: build compatilibity target for Electron 25 2023-06-03 21:43:17 +08:00
alex8088 8c924188de revert: chore: remove process env define (#159) 2023-05-14 17:49:04 +08:00
alex8088 f443c18056 feat: add --rendererOnly flag to dev command 2023-04-23 21:28:58 +08:00
alex8088 a736af835e perf: build compatilibity target for Electron 24 2023-04-18 23:46:29 +08:00
alex8088 3b2ba0ae25 chore: remove process env define 2023-04-18 23:11:33 +08:00
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