26 Commits

Author SHA1 Message Date
alex8088
3fd16d0c23 refactor!: bump required node version to 20.19+, 22.12+ 2025-06-27 23:10:23 +08:00
alex8088
6c01417909 chore: move to eslint flat config 2025-01-22 00:47:48 +08:00
alex8088
d9aaf24f84 fix: default mode should not overrite user config mode 2024-06-21 01:03:01 +08:00
Krystian Otto
3605aca1e8
fix: not using the mode from the config file (#539) 2024-06-21 00:49:24 +08:00
alex8088
b3185d7fc5 feat: resolve import.meta.[dirname|filename] to support CommonJS format 2024-06-15 21:49:51 +08:00
alex8088
a48e12a9df fix(types): narrow down the return type of defineConfig 2024-04-21 21:15:15 +08:00
alex8088
1abedce6c2 refactor(config): defineConfig types 2024-04-21 19:59:46 +08:00
alex8088
08ff86f2c4 feat: easy way to fork processes and use workers 2024-03-03 19:08:48 +08:00
alex8088
694e134a52 feat: config file supports "type": "module" in package.json 2024-01-04 00:00:57 +08:00
alex8088
619a337c6d perf: resolve import meta url in CommonJS format 2023-12-13 21:10:53 +08:00
alex8088
b578f61f1c refactor: use dynamic import directly 2023-12-12 23:11:36 +08:00
alex8088
c1e1ca0471 feat: support ESM in Electron 2023-12-12 22:40:37 +08:00
alex8088
8bb03f8b24 feat: bump minimum node version to 18 2023-12-08 21:35:06 +08:00
alex8088
d8307e8fd4 chore: update user config interface jsdoc 2023-07-30 17:00:41 +08:00
alex8088
336b4292eb feat: static asset handling 2023-01-04 22:53:22 +08:00
alex8088
d086e0d51a fix: NODE_ENV is incorrect in vite 4.x 2022-12-10 23:26:10 +08:00
alex8088
ffb2426e75 feat: support mode and command conditional config 2022-12-04 01:24:25 +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
51b9f74457 refactor: load config file 2022-09-25 00:18:13 +08:00
alex8088
556fe95f20 fix: specify a config file error 2022-09-19 18:32:39 +08:00
alex8088
c6bade23b5 chore: use node prefix 2022-09-17 23:47:48 +08:00
alex8088
04abdda294 fix: error occurs when the preload config is a function 2022-07-03 15:29:19 +08:00
alex8088
1a0130ab4f fix: throw error when vite.config.* file in root (#3) 2022-05-01 00:18:21 +08:00
alex8088
ef99b02b18 chore: init 2022-03-17 16:21:02 +08:00