Commit Graph

7165 Commits

Author SHA1 Message Date
bluwy
8e936cd3d9 feat(config): support native import 2024-10-29 21:51:07 +08:00
asivery
a0336bd519
fix: consider URLs with any protocol to be external (#17369)
Co-authored-by: patak-dev <matias.capeletto@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-29 16:10:47 +08:00
Hiroshi Ogawa
2c10f9a452
chore: fix preview-release.yml (#18504) 2024-10-29 07:09:42 +01:00
Bjorn Lu
ddd5c5d00f
chore: upgrade to unbuild v3 rc (#18502) 2024-10-29 06:16:13 +01:00
Bjorn Lu
f97a57893b
chore: use premove instead of rimraf (#18499) 2024-10-28 22:51:44 +01:00
Bjorn Lu
f886f75396
fix(config): remove error if require resolve to esm (#18437)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-10-28 15:31:25 +00:00
Bjorn Lu
5a967cb596
fix(build): apply resolve.external/noExternal to server environments (#18495) 2024-10-28 14:50:51 +01:00
Hiroshi Ogawa
6a7e313754
feat!: support file:// resolution (#18422) 2024-10-28 13:49:57 +01:00
bluwy
1e5703bda1 release: v6.0.0-beta.6 2024-10-28 20:09:02 +08:00
Hiroshi Ogawa
472afbd010
fix(module-runner): delay function eval until module runner instantiation (#18480) 2024-10-28 11:28:28 +01:00
patak
915cd7f11a
docs: top-level client environment config (#18474)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-28 10:44:55 +01:00
patak
6022fc2c87
refactor: top-level createEnvironment is client-only (#18475) 2024-10-28 10:35:31 +01:00
renovate[bot]
2ec12df98d
fix(deps): update all non-major dependencies (#18484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-28 17:06:33 +08:00
patak
1ac22de41c
refactor: optimizeDeps back to top level (#18465) 2024-10-28 09:51:20 +01:00
Mohammad Bagher Abiyat
24befe8d29
chore: pkg.pr.new preview with label and comment (#18211) 2024-10-28 07:42:35 +01:00
翠 / green
b9b925eb3f
feat(css): add more stricter typing of lightningcss (#18460) 2024-10-28 06:59:44 +01:00
Divyansh Singh
3a27f627df
chore(deps)!: update postcss-load-config to v6 (#15235)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-28 11:53:16 +09:00
Vladimir
0c497d9cb6
feat: allow custom console in createLogger (#18379) 2024-10-26 10:53:57 +02:00
翠 / green
2ebe4b4443
fix: set scripts imported by HTML moduleSideEffects=true (#18411) 2024-10-26 10:53:23 +02:00
Bjorn Lu
409fa5c9de
fix: handle warmup glob hang (#18462) 2024-10-26 10:52:08 +02:00
Jonny Chen
993e71c4cb
fix(css): cssCodeSplit in environments.xxx.build is invalid (#18464) 2024-10-26 10:50:50 +02:00
翠 / green
89f8303e72
fix(css): make sass types work with sass-embedded (#18459) 2024-10-25 18:01:17 +02:00
Bjorn Lu
34fdb6bef5
perf(css): skip style.css extraction if code-split css (#18470) 2024-10-25 18:00:25 +02:00
Bjorn Lu
bd540d52eb
fix(plugins): noop if config hook returns same config reference (#18467) 2024-10-25 16:12:20 +02:00
bluwy
e5ea63d2fc release: plugin-legacy@5.4.3 2024-10-25 21:11:56 +08:00
翠 / green
c32837cf86
refactor(css): hide internal preprocessor types and expose types used for options (#18458) 2024-10-25 13:18:04 +02:00
翠 / green
c148676c90
fix(manifest): non entry CSS chunk src was wrong (#18133) 2024-10-25 13:16:30 +02:00
翠 / green
c4e7f34d2e
docs: migration guide for plugin-commonjs upgrade (#18456) 2024-10-25 11:55:06 +02:00
翠 / green
5ead461b37
fix: return the same instance of ModuleNode for the same EnvironmentModuleNode (#18455) 2024-10-25 11:54:18 +02: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
Jonas Kuske
e51dc40b59
feat: read sec-fetch-dest header to detect JS in transform (#9981)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-25 13:15:43 +08:00
Hiroshi Ogawa
7f9f8c6851
fix: use websocket to test server liveness before client reload (#17891)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-25 13:54:11 +09:00
bluwy
91a1acb120 release: v6.0.0-beta.5 2024-10-24 23:41:59 +08:00
翠 / green
0ab20a3ee2
fix(ssr): inject identity function at the top (#18449) 2024-10-24 12:04:10 +00:00
Bjorn Lu
d23a493cc4
feat(css)!: load postcss config within workspace root only (#18440) 2024-10-24 12:26:47 +02:00
翠 / green
f2957c84f6
refactor: use originalFileNames/names (#18240) 2024-10-24 12:24:53 +02:00
Dario Piotrowicz
8cc8e51042
chore: replace deprecated File type with RunnerTestFile (#18448) 2024-10-24 12:14:48 +02:00
翠 / green
f1d3bf74cc
fix!: default build.cssMinify to 'esbuild' for SSR (#15637) 2024-10-24 12:01:59 +02:00
Yusuke Mizuno
0a4427fc44
fix(create-vite): add tsBuildInfoFile option (#18435) 2024-10-24 16:30:09 +08:00
Sun
56b71768f3
fix(dev): prevent double URL encoding in server.open on macOS (#18443) 2024-10-24 16:24:47 +08:00
Alex
7eeb6f2f97
fix: add typing to CSSOptions.preprocessorOptions (#18001)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-24 09:44:36 +02:00
翠 / green
94cd1e6f95
test: fix test conflict (#18446) 2024-10-24 15:10:37 +08:00
Bjorn Lu
65014a32ef
fix(preview): set resolvedUrls null after close (#18445) 2024-10-24 09:03:18 +02:00
Simon McEnlly
8e382a6a1f
fix(ssr): preserve source maps for hoisted imports (fix #16355) (#16356)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-24 08:44:50 +02:00
renovate[bot]
377488178a
chore(deps): update dependency picomatch to v4 (#15876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-24 13:39:49 +08:00
翠 / green
fd55c60917
docs: add some migration guide for v6 (#18444) 2024-10-24 07:24:50 +02:00
翠 / green
b80daa7c09
feat(json)!: add json.stringify: 'auto' and make that the default (#18303) 2024-10-23 22:59:33 +08:00
bluwy
a514330984 release: v6.0.0-beta.4 2024-10-23 21:55:08 +08:00
翠 / green
cc61d169a4
refactor: use builder in build (#18432) 2024-10-23 14:40:42 +02:00
翠 / green
19ce525b97
refactor!: bump minimal terser version to 5.16.0 (#18209) 2024-10-23 18:33:31 +08:00