Commit Graph

339 Commits

Author SHA1 Message Date
翠 / green
c12c653ca5
feat: expose default mainFields/conditions (#18648) 2024-11-14 09:14:35 +01:00
Bjorn Lu
49783da298
revert: use chokidar v3 (#18659) 2024-11-14 09:13:41 +01:00
翠 / green
a6f5f5baca
feat: add ssr.resolve.mainFields option (#18646) 2024-11-13 19:50:29 +09:00
翠 / green
f39896e7ff
docs: expand description of externalConditions (#18619)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-11 13:30:07 +01:00
Wouter Kroes
b2fa7260b1
docs(config): remove unused argument command (#18058) 2024-11-05 13:04:41 +08:00
Shammel Lee
23a781177b
docs(shared-options): fix typo in css.preprocessorOptions (#18571) 2024-11-05 12:00:22 +08:00
patak
a55e86bdeb
docs: remove horizontal scrollbars in code blocks (#18567) 2024-11-05 01:29:35 +01:00
翠 / green
d002e7d05a
feat(resolve)!: allow removing conditions (#18395)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
2024-10-31 18:37:43 +01:00
patak
94b0857353
refactor!: remove fs.cachedChecks option (#18493) 2024-10-31 12:13:20 +08:00
Bjorn Lu
61cbf6f2cf
feat(lib)!: use package name for css output file name (#18488)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-10-30 09:13:01 +01:00
Bjorn Lu
192d555f88
feat!: update to chokidar v4 (#18453)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-10-29 22:28:35 +08:00
Hiroshi Ogawa
d4e0442f9d
feat(css)!: change default sass api to modern/modern-compiler (#17937)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-25 16:49:27 +09:00
Bjorn Lu
d23a493cc4
feat(css)!: load postcss config within workspace root only (#18440) 2024-10-24 12:26:47 +02:00
翠 / 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