64 Commits
Author SHA1 Message Date
Bjorn Lu 07d65709f3 docs(api-javascript): remove example file name (#23423) 2026-09-03 22:31:09 +08:00
多格 57f0bf51a0 docs(guide): fix API documentation grammar and casing (#23353) 2026-08-25 16:04:23 +08:00
多格 6a3339811d docs(api-javascript): fix typo and update configuration reference (#23187) 2026-08-07 11:03:23 +08:00
EduardF1andCopilot eda57336d6 docs(api-javascript): fix build() return type and loadConfigFromFile description for Rolldown (#22785)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 23:26:38 +09:00
Manuel Navarro Pérez 28d8e12c26 docs: clarify loadEnv merges process.env (#22561) 2026-06-03 12:11:59 +09:00
Lucas Garronandsapphi-red b675c7b669 fix: refer to rolldownOptions instead of deprecated rollupOptions in messages (#22400)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2026-05-11 13:34:58 +09:00
2151f701dc docs: explain mergeConfig skips null/undefined (#22325)
Co-authored-by: sunmozong <sunmozong@kuaishou.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2026-04-28 10:26:39 +08:00
翠 aa1ba2b67c docs(apis): add document for this.meta.viteVersion and *version variables (#21824) 2026-03-12 19:24:53 +09:00
翠 7becf5f8fe refactor: use import.meta.dirname everywhere (#21509) 2026-01-29 11:53:18 +09:00
翠 0e6179b167 docs: update content for beta (#529) 2025-12-02 15:19:45 +09:00
abeer0 29e98dc3ef docs: correct WebSocket spelling (#20890) 2025-10-05 09:55:41 +08:00
Wickand翠 / green bca89e153e feat(env): add false option for envDir to disable env loading (#19503)
Co-authored-by: 翠 / green <green@sapphi.red>
2025-03-31 09:26:38 +02:00
Bjorn Lu 49783da298 revert: use chokidar v3 (#18659) 2024-11-14 09:13:41 +01:00
Bjorn Luand翠 / green 192d555f88 feat!: update to chokidar v4 (#18453)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-10-29 22:28:35 +08:00
Bjorn Lu 65014a32ef fix(preview): set resolvedUrls null after close (#18445) 2024-10-24 09:03:18 +02:00
Leo b529b6fa7d docs: add vitepress-plugin-group-icons (#18132) 2024-09-19 12:53:21 +08:00
Bjorn Lu 04af3a05df docs(api-javascript): document preprocessCSS (#17433) 2024-06-10 17:33:52 +08:00
翠 / green 6f8a320665 docs: add @shikiji/vitepress-twoslash (#16168) 2024-03-15 09:24:38 +01:00
patak 98888439e0 feat: formalize waitForRequestsIdle (experimental) (#16135) 2024-03-14 13:52:09 +01:00
Julius 55a3427ef8 fix: pass customLogger to loadConfigFromFile (fix #15824) (#15831) 2024-02-08 07:22:54 +01:00
HHXandbluwy 37382d1f57 docs(api-javascript): update transformIndexHtml types (#15806)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-06 16:03:46 +08:00
patak 9474c4be27 feat: preserve vite.middlewares connect instance after restarts (#15166) 2023-11-29 11:44:06 +01:00
patak cc980feb55 docs: indirect use vite.middlewares in example (#15020) 2023-11-17 12:00:41 +01:00
Anthony Fu e0c86d4f21 feat: allow providing parent httpServer on middleware mode (#14632) 2023-11-15 14:27:45 +01:00
Bjorn Lu d195860616 feat!: add isPreview to ConfigEnv and resolveConfig (#14855) 2023-11-03 23:53:34 +08:00
VladimirandBjorn Lu af5a95e014 feat: allow passing down "null" to disable server watcher (#14208)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-09-19 15:56:11 +08:00
Deot 1a2e5e6d9a feat: export server.bindCLIShortcuts (#13675) 2023-09-04 10:50:16 +08:00
Vincent François 094b732482 docs: add example for mergeConfig with a config in callback form (#14144) 2023-08-19 00:40:24 +09:00
翠 / green e0eb07c5d1 refactor!: merge PreviewServerForHook into PreviewServer type (#14119) 2023-08-16 13:34:29 +02:00
Vladimir Ivakin 998512b66f fix(mergeConfig): don't accept callback config (#13135) 2023-06-06 15:51:03 +02:00
Eric Lau 4c142eac27 feat: use preview server parameter in preview server hook (#11647) 2023-03-25 19:05:50 +08:00
Wei 48cd43ba33 docs: do not need <wbr> anymore (#12234) 2023-03-01 07:59:34 +01:00
Arnaud Barré 134ce68179 chore: enable prettier trailing commas (#11167) 2022-12-04 08:19:06 +01:00
patak 07c0336863 chore: revert #10196 until Vite 4 (#10574)
This reverts commit f328f613cc.
2022-10-21 11:42:08 +02:00
pengbo f328f613cc fix: expose server as Http2SecureServer type (#10196) 2022-10-20 05:12:56 +02:00
Bjorn Lu 832801153e feat(server): invalidate module with hmr (#10333) 2022-10-14 11:02:34 +02:00
Bjorn Lu c3f6731baf feat: stabilize server.resolvedUrls (#9866) 2022-08-26 16:53:35 +00:00
Daniel Schmelz 81989bfb32 docs: fix typos (#9776) 2022-08-21 21:05:55 +02:00
Bjorn Lu 05b17dfcdf docs: update api-javascript (#8999) 2022-07-09 18:29:53 +02:00
Bjorn Lu 07aef1b4c0 docs: cleanup changes (#8989) 2022-07-08 11:05:58 +02:00
翠 / green 3f832bc8f5 docs: remove experimental from stabilized apis (#8248) 2022-05-20 22:03:47 +02:00
Bjorn Lu e37a51dc76 docs: note api run in same process (#8230) 2022-05-19 10:07:01 +02:00
Anthony Fu c29613013c chore: fix term cases (#7553) 2022-04-01 00:09:24 +02:00
Ben McCann c703a3348a feat: add fixStacktrace option to ssrLoadModule (#7048) 2022-02-25 17:39:45 +01:00
Dominik G 1425a162e7 feat(dev): expose restart function on ViteDevServer (#5723) 2021-11-19 16:29:45 +01:00
patak a473570777 docs: dev and serve aliases (#5483) 2021-11-08 15:43:42 +01:00
patak ff755eb7ec feat: preview config (#5514) 2021-11-06 21:14:39 +01:00
Vojtech Miksu 9af4f7c7fe docs: update api-javascript build base 2021-10-22 16:59:10 +08:00
Bjorn LuandDominik G. c8c0f74ced feat: export transformWithEsbuild (#4882)
* feat: export transformWithEsbuild

* chore: add tests

* fix: test typo

Co-authored-by: Dominik G. <dominik.goepel@gmx.de>

* chore: deprecate server.transformWithEsbuild

* docs: add transformWithEsbuild

Co-authored-by: Dominik G. <dominik.goepel@gmx.de>
2021-09-18 18:13:54 +02:00
Flymeandde_yi 780ddcff2c docs: unify project name (#4876)
Co-authored-by: de_yi <de>
2021-09-08 17:39:54 +08:00