Commit Graph

4919 Commits

Author SHA1 Message Date
patak-dev
beb2ff9223 refactor: applyToEnvironment -> perEnvironment hook 2024-11-13 15:21:53 +01:00
patak
95c4b3c371
fix: cjs build for perEnvironmentState et al (#18656) 2024-11-13 14:54:58 +01:00
patak
8fa70cdfa6
feat: extended applyToEnvironment and perEnvironmentPlugin (#18544)
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-13 14:21:24 +01:00
翠 / green
87c5502249
feat: show error when accessing variables not exposed in CJS build (#18649)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-13 19:51:53 +09:00
翠 / green
a6f5f5baca
feat: add ssr.resolve.mainFields option (#18646) 2024-11-13 19:50:29 +09:00
翠 / green
0e1f437d53
refactor: introduce mergeWithDefaults and organize how default values for config options are set (#18550) 2024-11-12 23:55:24 +01:00
Hiroshi Ogawa
866a433a34
fix(ssr): preserve fetchModule error details (#18626) 2024-11-11 13:28:52 +01:00
Filip Wachowiak
5182272d52
perf: remove strip-ansi for a node built-in (#18630)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-11 17:51:16 +09:00
renovate[bot]
e2231a92af
chore(deps): update all non-major dependencies (#18634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 17:49:31 +09:00
翠 / green
55461b4332
fix(html): externalize rollup.external scripts correctly (#18618) 2024-11-09 10:35:23 +01:00
翠 / green
2a88f71aef
chore: tweak build config (#18622) 2024-11-08 11:05:30 +00:00
Dario Piotrowicz
09248795ca
feat(optimizer): allow users to specify their esbuild platform option (#18611)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-11-08 14:32:52 +09:00
翠 / green
0c8b15238b
chore(deps): update transitive deps (#18602) 2024-11-07 15:33:03 +01:00
sapphi-red
f239f27125
release: v6.0.0-beta.9 2024-11-07 11:43:14 +09:00
翠 / green
78dc4902ff
feat: use a single transport for fetchModule and HMR support (#18362)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-11-07 11:24:48 +09:00
翠 / green
23c39fc994
chore: remove unused ssr variable (#18594) 2024-11-06 13:46:17 +01:00
翠 / green
63207e5d0f
fix(resolve): run ensureVersionQuery for SSR (#18591) 2024-11-06 11:46:59 +01:00
Bjorn Lu
f08b1463db
feat(asset): inline svg in dev if within limit (#18581) 2024-11-06 10:28:44 +01:00
翠 / green
3ef0bf19a3
refactor(resolve): remove environmentsOptions parameter (#18590) 2024-11-06 10:23:15 +01:00
翠 / green
dd25c1ab5d
test: update filename regex (#18593) 2024-11-06 09:28:14 +01:00
翠 / green
a51c254265
chore: add warning for / mapping in resolve.alias (#18588)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-06 15:11:24 +09:00
翠 / green
87b2347a13
fix: browser field should not be included by default for consumer: 'server' (#18575) 2024-11-05 11:09:08 +01:00
Michael Brown
8518113dee
fix(create-vite): improve project name inference from path (#16490)
Co-authored-by: Michael Brown <michaelbrown@temenos.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-05 13:42:14 +08:00
Hugo ATTAL
9162172e03
feat(asset): add ?inline and ?no-inline queries to control inlining (#15454)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
2024-11-04 14:50:15 +00:00
renovate[bot]
fb227ec440
chore(deps): update all non-major dependencies (#18562) 2024-11-04 11:48:40 +08:00
翠 / green
fe30349d35
fix: use server.perEnvironmentStartEndDuringDev (#18549) 2024-11-01 11:09:44 +01:00
翠 / green
637d31bcc5
fix(client): detect ws close correctly (#18548) 2024-11-01 10:48:41 +01:00
sapphi-red
1ed03c698e
release: v6.0.0-beta.8 2024-11-01 17:39:26 +09:00
Bjorn Lu
72eaef5300
fix(config): write temporary vite config to node_modules (#18509) 2024-11-01 08:15:36 +01:00
Jonny Chen
eefe895716
fix(css): cssCodeSplit uses the current environment configuration (#18486) 2024-11-01 14:57:48 +09:00
Ghislain B.
fa50b03390
fix(json): don't json.stringify arrays (#18541) 2024-11-01 03:55:34 +00: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
Bjorn Lu
8a7af50b5d
feat(html)!: support more asset sources (#11138) 2024-10-31 08:57:16 +01:00
翠 / green
826c81a40b
fix: allow nested dependency selector to be used for optimizeDeps.include for SSR (#18506) 2024-10-31 08:48:12 +01:00
Bjorn Lu
28cefcaf28
chore(plugin-legacy): add type module in package.json (#18535) 2024-10-31 08:43:42 +01:00
patak
94b0857353
refactor!: remove fs.cachedChecks option (#18493) 2024-10-31 12:13:20 +08:00
Bjorn Lu
5d6dc491b6
fix(lib): only resolve css bundle name if have styles (#18530) 2024-10-31 12:10:00 +08:00
patak
a50ff6000b
refactor: client-only top-level warmup (#18524) 2024-10-31 11:21:55 +08:00
Bjorn Lu
3194a6a607
fix(scss): improve error logs (#18522)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-10-31 02:13:21 +00:00
smeng9
aec5fdd72e
fix(less): prevent rebasing @import url(...) (#17857)
Co-authored-by: shaoyu <shaoyu>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-30 17:03:50 +01:00
翠 / green
5286a90a3c
fix: asset new URL(,import.meta.url) match (#18194) 2024-10-30 16:55:25 +01:00
Vladimir
85bd0e9b0d
fix: close watcher if it's disabled (#18521) 2024-10-30 15:48:44 +01:00
sapphi-red
67e3e9542a
release: v6.0.0-beta.7 2024-10-30 18:59:01 +09:00
sapphi-red
ad9d731526
release: create-vite@5.5.5 2024-10-30 18:54:57 +09:00
翠 / green
25fe9e3b48
chore: fix moduleSideEffects in build script on Windows (#18518) 2024-10-30 18:53:33 +09:00
翠 / green
3c9836d96f
feat!: proxy bypass with WebSocket (#18070) 2024-10-30 09:08:19 +00:00
翠 / green
437795db83
fix: use picomatch to align with tinyglobby (#18503) 2024-10-30 18:07:03 +09:00
btea
04f6736fd7
feat: log complete config in debug mode (#18289) 2024-10-30 16:55:58 +08:00
Dominik G.
b9b01d57fd
refactor: separate tsconfck caches per config in a weakmap (#17317)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-30 09:27:09 +01:00
Bjorn Lu
eccf663e35
fix(css)!: remove default import in ssr dev (#17922)
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
2024-10-30 09:14:44 +01:00