Commit Graph

326 Commits

Author SHA1 Message Date
翠 / green
f1d3bf74cc
fix!: default build.cssMinify to 'esbuild' for SSR (#15637) 2024-10-24 12:01:59 +02:00
翠 / green
b80daa7c09
feat(json)!: add json.stringify: 'auto' and make that the default (#18303) 2024-10-23 22:59:33 +08:00
翠 / green
19ce525b97
refactor!: bump minimal terser version to 5.16.0 (#18209) 2024-10-23 18:33:31 +08:00
patak
105ca12b34
feat: add .git to deny list by default (#18382) 2024-10-18 14:53:27 +02:00
翠 / green
eec021deaa
docs: clarify where it applies for each config options (#18375) 2024-10-18 08:20:21 +02:00
翠 / green
e59760c46d
docs: server.proxy has precedence over Vite's internal middlewares (#18363) 2024-10-17 13:38:49 +02:00
pralkarz
6f74a3a1b2
chore(deps)!: migrate fast-glob to tinyglobby (#18243) 2024-10-17 14:24:33 +09:00
btea
0eda2ea0d5
docs: update EsbuildBuildOptions link (#18287) 2024-10-05 21:10:06 +08:00
Evan You
7052c8f6fc
chore: update all url references of vitejs.dev to vite.dev (#18276) 2024-10-04 17:30:11 +08:00
xxhls
5e56614cce
docs: correct variable name in build.lib.fileName option description (#18197) 2024-09-25 17:37:23 +09:00
Leo
b529b6fa7d
docs: add vitepress-plugin-group-icons (#18132) 2024-09-19 12:53:21 +08:00
patak
242f550eb4
feat: Environment API (#16471)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
Co-authored-by: Anthony Fu <github@antfu.me>
Co-authored-by: Dominik G <dominik.goepel@gmx.de>
Co-authored-by: Igor Minar <i@igor.dev>
Co-authored-by: Viktor Lázár <lazarv1982@gmail.com>
Co-authored-by: Joaquín Sánchez <userquin@gmail.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-04 11:27:09 +02:00
翠 / green
e961b31493
fix: build.modulePreload.resolveDependencies is optimizable (#16083) 2024-08-09 16:50:26 +02:00
Vasily Lavrov
11644f4e37
docs(server-options): fix RegEx -> RegExp (#17814) 2024-08-03 10:28:39 +08:00
patak
4de659c351
fix: opt-in server.fs.cachedChecks (#17807)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-01 17:03:43 +02:00
Hiroshi Ogawa
1025bb6d8f
feat(css): support sass compiler api and sass-embedded package (#17754) 2024-07-31 19:34:39 +08:00
Hiroshi Ogawa
73a3de01d2
feat(css): support sass modern api (#17728) 2024-07-30 13:35:18 +08:00
Kevin Brey
e1fb0fa270
docs: show usage with satisfies operator (#17643) 2024-07-16 14:38:30 +02:00
John Hunter
14c3d49303
fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option (#17563)
Co-authored-by: John Hunter <john.hunter@arenko.group>
2024-07-02 18:06:28 +08:00
jainex
14e14726d1
docs(config): update preview.https type (#17586) 2024-06-29 18:30:55 +02:00
TAKAHASHI Shuuji
ff57d61cab
docs(shared-options): fix small typo (#17550) 2024-06-23 22:00:36 +08:00
PatrickJS
cafa7d56f3
docs(shared-options): better explain base (#17535) 2024-06-20 18:32:29 +02:00
omahs
fc04971905
docs: fix typos (#17524) 2024-06-19 21:07:10 +08:00
sjtucoder
ec16a5efc0
chore: fix some comments (#17495) 2024-06-17 21:43:45 +08:00
John Hunter
7b0a65e200
fix(proxy): rewrite the origin header to match the target for ws proxy (#16558)
Co-authored-by: John Hunter <john.hunter@arenko.group>
2024-05-29 22:22:59 +08:00
btea
4501b5a7ea
chore(deps): update @shikijs/vitepress-twoslash to 1.5.0 (#16637) 2024-05-10 18:12:39 +00:00
btea
f8e0791e3f
docs: update dep optimization options entries (#16204)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-04-09 11:11:09 +02:00
翠 / green
e14123f602
docs(css): duplicate @import behavior (#16304) 2024-03-29 07:59:16 +01:00
翠 / green
6f8a320665
docs: add @shikiji/vitepress-twoslash (#16168) 2024-03-15 09:24:38 +01:00
翠 / green
1d5eec477e
feat: csp nonce support (#16052)
Co-authored-by: Andrew <8158705+maccuaa@users.noreply.github.com>
Co-authored-by: Justin Tay <49700559+justin-tay@users.noreply.github.com>
2024-03-13 15:47:33 +01:00
Bjorn Lu
1cc88c13d8
feat(resolve): auto externalize node builtins for noExternal: true in node (#16019) 2024-03-12 21:15:05 +08:00
翠 / green
6019a25144
docs: add docs about vite serve alias (#16145) 2024-03-12 06:52:05 +01:00
Stan Hu
ee562070f2
docs(hmr): document hmr.protocol setting (#16056) 2024-03-01 21:12:07 +09:00
patak
9b433eab9e
chore: prettier dep optimization (#15883) 2024-02-12 11:28:49 +01:00
patak
38ad229e3f
chore: lint (#15882) 2024-02-12 11:21:06 +01:00
chenfan
4caeb8491a
docs: improve optimizeDeps.esbuildOptions type (#14063) 2024-02-12 10:06:01 +01:00
翠 / green
1f84cae362
docs: add feedback discussion links for experimental features (#15836) 2024-02-08 08:59:45 +01:00
btea
734a9e3a4b
docs: update proxy option link (#15742) 2024-01-29 21:52:27 +01:00
patak
b7c6629208
feat(optimizer): holdUntilCrawlEnd option (#15244) 2024-01-23 16:53:54 +01:00
翠 / green
acd795f552
perf: use thread for preprocessors (#13584) 2024-01-22 10:27:09 +00:00
翠 / green
53452dffcc
docs: build.minify defaults to false for SSR (#15636) 2024-01-18 09:53:39 +01:00
patak
757844f0bd
refactor: remove build time pre-bundling (#15184)
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-15 14:29:54 +01:00
Arnaud Barré
4d1342ebe0
feat: build.assetsInlineLimit callback (#15366) 2024-01-12 08:56:23 +00:00
Bjorn Lu
e451be224b
feat(ssr): support external true (#10939) 2024-01-10 14:42:12 +01:00
Nozomu Ikuta
2836276dc0
fix(hmr): make watcher ignore build.outDir (#15326) 2024-01-09 09:31:22 +01:00
patak
9474c4be27
feat: preserve vite.middlewares connect instance after restarts (#15166) 2023-11-29 11:44:06 +01:00
Michael Tran
d0b2153a48
fix: update type CSSModulesOptions interface (#14987)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-11-17 10:38:55 +01:00
patak
e49ef028bb
docs(ssr): properly handle vite.middlewares after restart (#14917)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-09 09:53:37 +01:00
翠 / green
1e9bf06a82
docs: clarify origin part of base is not used in dev (#14907) 2023-11-08 10:29:26 +01:00
Bjorn Lu
d195860616
feat!: add isPreview to ConfigEnv and resolveConfig (#14855) 2023-11-03 23:53:34 +08:00