Commit graph

203 commits

Author SHA1 Message Date
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 7b27e684d6 perf: dev error message 2023-12-14 20:49:22 +08:00
alex8088 dbd7b0137b fix: externalizeDepsPlugin not work 2023-12-14 20:46:00 +08:00
alex8088 73f2562172 release: v2.0.0-beta.0 2023-12-13 21:32:06 +08:00
alex8088 cc0df8a8cc perf: package version 2023-12-13 21:21:15 +08:00
alex8088 93e84f6bce perf(worker): ESM syntax 2023-12-13 21:12:43 +08:00
alex8088 619a337c6d perf: resolve import meta url in CommonJS format 2023-12-13 21:10:53 +08:00
alex8088 963f8aba51 fix: emit assets when ssr is enabled 2023-12-13 21:06:40 +08:00
alex8088 082b1331ff chore: ignore .DS_store 2023-12-12 23:19:18 +08:00
alex8088 b578f61f1c refactor: use dynamic import directly 2023-12-12 23:11:36 +08:00
alex8088 5de87d681b refactor: remove Electron 11, 12 build compatilibity target 2023-12-12 23:00:03 +08:00
alex8088 a7b3c65576 perf: build compatilibity target for Electron 28 2023-12-12 22:58:50 +08:00
alex8088 4924e36d74 perf: use magic-string hires boundary for sourcemaps 2023-12-12 22:55:55 +08:00
alex8088 61eb32aa04 chore: update homepage 2023-12-12 22:44:41 +08:00
alex8088 c1e1ca0471 feat: support ESM in Electron 2023-12-12 22:40:37 +08:00
alex8088 cb58ef8649 perf: improve package.json resolve 2023-12-11 22:06:22 +08:00
alex8088 93763597fe refactor: file hashes use url-safe base64 encoded hashes in vite 5 (rollup 4) 2023-12-11 21:59:31 +08:00
alex8088 dc87a798ab feat: add package.json to export map 2023-12-11 21:39:11 +08:00
alex8088 4f12196e54 feat: support vite 5 2023-12-08 22:09:49 +08:00
alex8088 b93a1878c1 feat: migrate to ESM 2023-12-08 22:03:47 +08:00
alex8088 8bb03f8b24 feat: bump minimum node version to 18 2023-12-08 21:35:06 +08:00
alex8088 f951edf492 chore: improve prettier config 2023-12-07 22:35:38 +08:00
alex8088 7c6020e11b refactor: build 2023-12-07 22:32:59 +08:00
alex8088 4e48537b39 chore(deps): update typescript to 5.3.3 2023-12-07 21:46:19 +08:00
alex8088 10099eced0 build: use rollup-plugin-dts 2023-12-07 21:43:19 +08:00
alex8088 fbc45f696b chore(deps): update esbuild to v0.19 2023-12-07 21:24:19 +08:00
alex8088 d30d3765eb chore(deps): update vite to v5 2023-12-07 21:22:47 +08:00
alex8088 5c4c28ca0a chore(deps): update rollup to v4 2023-12-07 21:20:27 +08:00
alex8088 5e31794c2d chore(deps): update @rollup/plugin-typescript to v11 2023-12-07 21:10:48 +08:00
alex8088 588b39b0b4 chore(deps): update eslint-config-prettier to v9 2023-12-07 21:03:24 +08:00
alex8088 ce56ecd4dc chore(deps): update lint-staged to v15 2023-12-07 21:01:04 +08:00
alex8088 5021496f74 chore(deps): update all non-major dependencies 2023-12-07 20:58:42 +08:00
alex8088 8e1f9f6845 release: v1.0.29 2023-11-17 22:27:06 +08:00
alex8088 7369960b99 feat(cli): support --noSandbox option for dev and preview command 2023-11-08 23:03:50 +08:00
alex8088 ac47dacc1b perf: build compatilibity target for Electron 27 2023-10-17 21:57:45 +08:00
alex8088 2360d502a4 release: v1.0.28 2023-09-18 22:08:46 +08:00
alex8088 01163866fb feat(cli): supports specifying electron entry file (#270) 2023-09-08 00:32:43 +08:00
alex8088 8b839872f8 chore(types): add .json?commonjs-external&asset typing 2023-09-08 00:04:02 +08:00
alex8088 670c23b2e1 perf: build compatilibity target for Electron 26 2023-09-07 22:14:02 +08:00
alex8088 566f88960e fix(externalizeDepsPlugin): supports subpath 2023-09-07 22:06:47 +08:00
alex.wei 8a774ef76d
Merge pull request #254 from yoni-rapoport/master
Support subpath imports from externalized dependencies
2023-08-17 23:58:43 +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 5c440a8a76 release: v1.0.27 2023-08-01 21:45:21 +08:00
alex8088 ed64873434 chore: remove preinstall script 2023-08-01 21:37:14 +08:00
alex8088 254ce0b5b6 release: v1.0.26 2023-07-30 18:32:51 +08:00
alex8088 0c46c1064b chore(types): add Vite importMeta types 2023-07-30 17:27:04 +08:00
alex8088 6c590ad65b chore(types): add process.env.ELECTRON_RENDERER_URL type 2023-07-30 17:23:59 +08:00
alex8088 d8307e8fd4 chore: update user config interface jsdoc 2023-07-30 17:00:41 +08:00
alex8088 532ba52714 chore(deps): update @typescript-eslint/* to v6 2023-07-29 17:17:07 +08:00
alex8088 8914878a53 chore(deps): update prettier to v3 2023-07-29 17:11:49 +08:00