Commit Graph

4919 Commits

Author SHA1 Message Date
patak-dev
9e40d43736 release: v6.0.0-beta.0 2024-09-12 12:16:46 +02:00
Bjorn Lu
41180d0273
chore: remove npm-run-all2 (#18083) 2024-09-12 11:33:28 +02:00
Bjorn Lu
ba37df0813
refactor(create-vite): use picocolors (#18085) 2024-09-12 11:30:35 +02:00
Bjorn Lu
e9a2746ca7
chore: enable some eslint rules (#18084)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-09-12 11:28:36 +02:00
Dario Piotrowicz
35cf59c9d5
feat: expose EnvironmentOptions type (#18080) 2024-09-11 14:15:01 +02:00
Dario Piotrowicz
0e3467e503
fix: incorrect environment consumer option resolution (#18079) 2024-09-11 13:48:44 +02:00
郁蒸十四
587ad7b17b
fix(build): declare preload-helper has no side effects (#18057) 2024-09-10 16:47:36 +02:00
Paolo Ricciuti
7d699aa981
fix: allow scanning exports from script module in svelte (#18063)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2024-09-10 16:02:58 +02:00
sunnylost
5983f366d4
fix(html): escape html attribute (#18067)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-09-10 13:45:39 +02:00
翠 / green
d81dc59473
fix(css): fallback to mainthread if logger or pkgImporter option is set for sass (#18071) 2024-09-10 13:44:19 +02:00
coderwei
abf04c3a84
fix: ensure req.url matches moduleByEtag URL to avoid incorrect 304 (#17997) 2024-09-10 04:09:05 +00:00
翠 / green
6f60adc152
refactor: remove custom resolveOptions from pre-alias plugin (#18041) 2024-09-09 16:24:51 +02:00
sunnylost
2a391a7df6
fix(dynamicImportVars): correct glob pattern for paths with parentheses (#17940)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-09-09 16:10:58 +02:00
翠 / green
04d7e77494
test: move glob test root to reduce snapshot change (#18053) 2024-09-09 12:15:27 +02:00
翠 / green
a3ef052d40
chore: silence unnecessary logs during test (#18052) 2024-09-09 12:13:57 +02:00
Daniel Roe
3fb28896d9
fix(preload): allow ignoring dep errors (#18046) 2024-09-09 12:12:39 +02:00
btea
8062d36773
refactor: remove unnecessary escape (#18044) 2024-09-09 12:00:40 +02:00
renovate[bot]
7cac03fa51
chore(deps): update all non-major dependencies (#18050) 2024-09-09 12:22:52 +09:00
renovate[bot]
ecabf8954f
chore(deps): update dependency svelte-check to v4 (#18051) 2024-09-09 12:03:18 +09:00
btea
1a76300cd1
feat(css): support es2023 build target for lightningcss (#17998) 2024-09-04 21:19:22 +02:00
Vladimir
cf8ced56ea
fix: store backwards compatible ssrModule and ssrError (#18031) 2024-09-04 21:10:59 +02: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
bluwy
ccbfc1a068 release: v5.4.3 2024-09-03 23:37:22 +08:00
Hiroshi Ogawa
9b001baa70
fix(css): fix directory index import in sass modern api (#17960) 2024-09-02 22:43:50 +02:00
Kael
5c5f82c84b
fix: improve CJS warning trace information (#17926)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-02 22:41:11 +02:00
Facundo Allemand
15871c75e0
fix(preload): add crossorigin attribute in CSS link tags (#17930) 2024-09-02 22:39:35 +02:00
sunnylost
413c86aa97
fix(html): rewrite assets url in <template> (#17988) 2024-09-02 22:37:55 +02:00
btea
dc3c14f39f
fix: cjs warning respect the logLevel flag (#17993) 2024-09-02 20:03:33 +08:00
renovate[bot]
0ca53cff9f
chore(deps): update all non-major dependencies (#17991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 11:20:05 +08:00
翠 / green
ebfaa7e601
fix: only remove entry assets handled by Vite core (#17916) 2024-09-01 23:45:54 +08:00
Hiroshi Ogawa
d428e7e3a0
fix(css): fix sass modern source map (#17938) 2024-09-01 23:27:03 +08:00
patak
ad1376018a
fix: waitForRequestIdle locked (#17982) 2024-09-01 23:23:56 +08:00
翠 / green
943ece177e
fix: allow getting URL of JS files in publicDir (#17915) 2024-09-01 23:23:19 +08:00
Dominik G.
8c661b20e9
fix(deps): bump tsconfck (#17990) 2024-09-01 08:03:05 +02:00
renovate[bot]
cfb621e7a5
chore(deps): update all non-major dependencies (#17945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:18:16 +08:00
patak
bf9065aa13
chore: reduce diffs with v6 branch (#17942) 2024-08-24 19:40:24 +02:00
Hiroshi Ogawa
561b940f6f
fix(css): fix sass file:// reference (#17909)
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
2024-08-22 17:23:02 +08:00
bluwy
b1ecdaf659 release: v5.4.2 2024-08-20 22:14:57 +08:00
翠 / green
e012f296df
chore: remove stale TODOs (#17866) 2024-08-19 19:48:53 +02:00
renovate[bot]
3dc23d9aa5
chore(deps): update all non-major dependencies (#17896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:08:54 +08:00
Hiroshi Ogawa
3b8f03d789
refactor: remove redundant prepend/strip base (#17887) 2024-08-16 13:47:55 +08:00
翠 / green
fac3a8ed68
fix: resolve relative URL generated by renderBuiltUrl passed to module preload (#16084) 2024-08-15 21:44:34 +08:00
翠 / green
7d8c0e2dcb
feat: support originalFilename (#17867) 2024-08-15 21:44:19 +08:00
bluwy
9370742792 release: plugin-legacy@5.4.2 2024-08-15 21:43:51 +08:00
bluwy
73cd3c1de6 release: create-vite@5.5.2 2024-08-15 21:41:47 +08:00
bluwy
b44c20cb60 release: v5.4.1 2024-08-15 21:41:10 +08:00
Hiroshi Ogawa
391bb4917b
fix(worker): handle self reference url worker in dependency for build (#17846) 2024-08-15 20:11:36 +09:00
郁蒸十四
e686d749d6
fix(build): avoid re-define __vite_import_meta_env__ (#17876)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-15 14:52:55 +08:00
Simon Bréard
1b3b702a7e
fix(create-vite): move ESLint "ignores" config to a separate object in React templates (#17885) 2024-08-15 14:51:12 +08:00
Hiroshi Ogawa
9018255c69
chore: fix picocolors import for local dev (#17884) 2024-08-15 10:46:24 +08:00
Drew Davis
1bda847329
fix: align CorsOptions.origin type with @types/cors (#17836) 2024-08-14 16:34:29 +08:00
翠 / green
e16bf1fb14
refactor: remove handleHotUpdate from watch-package-data plugin (#17865) 2024-08-14 16:15:31 +08:00
Nikolay Kudryavtsev
6700594999
fix: typings for vite:preloadError (#17868) 2024-08-13 00:13:14 +08:00
renovate[bot]
d11711c7e4
fix(deps): update all non-major dependencies (#17869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 20:12:53 +08:00
smeng9
4e5ce3c7a9
fix(lightningcss): search for assets with correct base path (#17856) 2024-08-11 21:45:03 +09:00
翠 / green
e961b31493
fix: build.modulePreload.resolveDependencies is optimizable (#16083) 2024-08-09 16:50:26 +02:00
bluwy
fcf50c2e88 release: create-vite@5.5.1 2024-08-08 00:21:07 +08:00
Bjorn Lu
8bc122feea
fix(create-vite): remove eslint overrides (#17833) 2024-08-08 00:20:21 +08:00
bluwy
272a77b080 release: create-vite@5.5.0 2024-08-07 23:24:33 +08:00
bluwy
cf50e548d4 release: v5.4.0 2024-08-07 23:23:11 +08:00
Hiroshi Ogawa
bb4ba9f448
fix(worker): fix importScripts injection breaking iife code (#17827) 2024-08-06 22:08:34 +08:00
btea
6ae0615416
fix(build): windows platform build output path error (#17818) 2024-08-06 20:43:40 +08:00
Dominik G.
cf2f90d4b9
fix(deps): update launch-editor to consume fix for windows paths (#17828) 2024-08-06 19:31:34 +08:00
renovate[bot]
bb2f8bb55f
chore(deps): update all non-major dependencies (#17820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-05 16:58:19 +08:00
Josh Goldberg ✨
d1891fda02
chore: bump typescript-eslint to v8 (#17624)
Co-authored-by: Anthony Fu <github@antfu.me>
2024-08-05 10:03:42 +08:00
Eckhardt (Kaizen) Dreyer
81327eb980
perf(ssr): do a single-pass over AST with node cache arrays (#17812) 2024-08-03 10:30:55 +08:00
Hiroshi Ogawa
6aa220607b
fix(ssr): fix global variable name conflict (#17809) 2024-08-02 13:53:21 +02:00
patak-dev
0f56e17241 release: v5.4.0-beta.1 2024-08-01 17:12:37 +02: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
Bjorn Lu
720447ee72
fix: handle encoded base paths (#17577) 2024-08-01 10:53:07 +08:00
Hiroshi Ogawa
1025bb6d8f
feat(css): support sass compiler api and sass-embedded package (#17754) 2024-07-31 19:34:39 +08:00
Arnaud Barré
efcd830e47
fix(create-vite): avoid usage of composite in TS configs (#17774) 2024-07-31 16:19:13 +08:00
Knightwalker
6eab91e501
refactor(create-vite): use named imports for react (#17773) 2024-07-31 12:55:42 +08:00
smeng9
dcfa75c6f5
feat(create-vite): add eslint.config.js to React templates (#12860)
Co-authored-by: Shaoyu Meng <shaoyu>
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-31 12:53:49 +08:00
bluwy
01f6cff2ac release: v5.4.0-beta.0 2024-07-30 22:36:29 +08:00
Michael Salim
5c55b291cf
fix(mergeConfig): don't recreate server.hmr.server instance (#17763) 2024-07-30 15:15:43 +02:00
renovate[bot]
e408542748
fix(deps): update all non-major dependencies (#17780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 13:38:12 +08:00
Hiroshi Ogawa
73a3de01d2
feat(css): support sass modern api (#17728) 2024-07-30 13:35:18 +08:00
btea
116e37acf1
feat(types): support custom VitePreloadErrorEvent (#17615) 2024-07-30 13:13:02 +08:00
SegaraRai
bbf001f0ec
fix: specify own Node version as target when bundling config files (#17307) 2024-07-30 13:10:33 +08:00
郁蒸十四
659b720693
fix(build): handle invalid JSON in import.meta.env (#17648)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-30 13:10:10 +08:00
Bjorn Lu
952bae3efc
perf: improve regex performance (#17789) 2024-07-29 22:23:11 +02:00
Bjorn Lu
796eef3af1
chore: update eslint config (#17788) 2024-07-29 22:14:34 +02:00
Bjorn Lu
461d37b947
chore: remove fs-extra dev dependency (#17782) 2024-07-29 19:20:03 +08:00
patak
b947fdcc9d
chore: minor config.logger refactor (#17770) 2024-07-27 09:53:16 +02:00
bluwy
440783953a release: v5.3.5 2024-07-25 17:20:15 +08:00
Bjorn Lu
66bdb1d7b4
refactor(asset): remove rollup 3 public file watch workaround (#16331) 2024-07-24 20:42:10 +08:00
houfeng
b240a8347e
fix(build): env output is not stable (#17748) 2024-07-23 17:09:52 +02:00
Bjorn Lu
b58b423ba8
fix(importMetaGlob): handle alias that starts with hash (#17743) 2024-07-23 13:00:31 +02:00
Stanislav Lashmanov
d906d3f8e1
fix(css): resolve url aliases with fragments (fix: #17690) (#17691)
Co-authored-by: Stanislav Lashmanov <slashmanov@gitlab.com>
2024-07-23 12:59:36 +02:00
Maisha Tremblay
3c1bde3406
fix(client): fix vite error path (#17744) 2024-07-23 11:54:40 +02:00
renovate[bot]
998373120c
chore(deps): update all non-major dependencies (#17734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 11:42:49 +08:00
btea
4fc9b6424c
chore: extend commit hash (#17709) 2024-07-22 11:32:22 +02:00
heerim
f4f488fe83
revert: fix(logger): truncate log over 5000 characters long (#16581) (#17729) 2024-07-22 11:28:31 +02:00
Bjorn Lu
df5ceb35b7
chore(deps): update typescript (#17699) 2024-07-22 11:48:47 +08:00
Ben McCann
db5ab1dfc4
fix: show error if vite client cannot be loaded (#17419)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-18 16:31:18 +02:00
Ari Perkkiö
f321fa8de2
fix(ssrTransform): sourcemaps with multiple sources (#17677) 2024-07-17 20:32:24 +02:00
renovate[bot]
93281b0e09
fix(deps): update all non-major dependencies (#17629)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-16 14:06:54 +02:00
Emile Fokkema
b55c32f7e3
fix: make server type less restrictive (fix #17627) (#17628) 2024-07-16 14:05:35 +02:00
bluwy
1d0d9ab99c release: create-vite@5.4.0 2024-07-16 17:14:17 +08:00
bluwy
4e57a97f46 release: v5.3.4 2024-07-16 17:12:38 +08:00
Douglas Moura
6d31a1de59
docs(create-vite): add missing tsconfig.app.json file at the project array for react-ts (#17645) 2024-07-16 17:04:57 +08:00
翠 / green
1465b2064e
fix(css): include .css?url in assets field of manifest (#17623) 2024-07-15 23:16:43 +02:00
btea
c4a2227c74
refactor: replace includes with logical operations (#17620) 2024-07-15 21:21:59 +08:00
Tomxuetao
d8a5d700bc
chore: add callback to http-proxy.d.ts jsdoc (#17646) 2024-07-15 21:11:18 +08:00
Bjorn Lu
4be96b48bc
fix(build): skip preload treeshaking for nested braces (#17687) 2024-07-15 15:06:07 +02:00
Luke Nelson
b723a753ce
fix: update Terser type definitions (fix #17668) (#17669) 2024-07-15 11:42:25 +00:00
Ryan Christian
564c8f45f5
chore: add create-preact recommendation to Preact templates (#17649) 2024-07-14 09:57:09 +02:00
Ryan Christian
d4d98dc95e
feat: add create-preact to list of options in create-vite (#17674) 2024-07-14 09:56:45 +02:00
风痕
07bc489b31
fix(worker): nested inlined worker always fallbacked to data URI worker instead of using blob worker (#17509) 2024-07-13 21:52:40 +02:00
bluwy
22b2994295 release: v5.3.3 2024-07-03 12:52:34 +08:00
renovate[bot]
012490ca86
fix(deps): update all non-major dependencies (#17590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 18:08:55 +08: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
Bjorn Lu
055f1c16e5
fix(lib): remove pure CSS dynamic import (#17601) 2024-07-02 11:49:19 +02:00
Bjorn Lu
dafff4ae6e
fix: lazily evaluate __vite__mapDeps files (#17602) 2024-07-02 11:47:29 +02:00
bluwy
3af02bde7e release: v5.3.2 2024-06-27 23:41:01 +08:00
Dominik G
24c799b121
fix(typescript): correctly expand ${configDir} in tsconfig.json (#17576) 2024-06-27 18:05:20 +08:00
Joseph
61357f67cd
docs: rename cdnjs link (#17565) 2024-06-26 11:48:21 +08:00
renovate[bot]
a33a97f8c3
chore(deps): update all non-major dependencies (#17553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 14:53:16 +08:00
Simon Buchan
2d6672fd8a
chore(deps): update es-module-lexer to 1.5.4 (#17555) 2024-06-24 14:40:55 +08:00
btea
f946c86940
fix(create-vite): target dir contains special characters (#17549) 2024-06-23 22:32:00 +08:00
Simon He
7c06ef07f8
refactor(optimizer): use early continues (#17551) 2024-06-23 22:24:32 +08:00
imfenghuang
a8e2f6fafc
fix(client): uniform variable location (#17528) 2024-06-21 22:00:30 +08:00
bluwy
48b53f28f2 release: create-vite@5.3.0 2024-06-21 14:48:15 +08:00
patak
86cf1b4b49
fix(create-vite): revert eslint 9 upgrade in templates (#17511) 2024-06-18 13:40:50 +02:00
Toño
7b240e408e
fix(create-vite): update tsconfig with moduleDetection true (#17468) 2024-06-18 09:06:11 +02:00
renovate[bot]
6c10662281
chore(deps): update dependency eslint to v9 (#16661)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-18 09:04:59 +02:00
renovate[bot]
bf123f2c62
fix(deps): update all non-major dependencies (#17494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-18 14:44:29 +08:00
sjtucoder
ec16a5efc0
chore: fix some comments (#17495) 2024-06-17 21:43:45 +08:00
Edvard
1d9bfc006b
feat(create-vite): add help usage (#16390)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-17 15:23:43 +08:00
bluwy
c608e6ac74 release: v5.3.1 2024-06-14 17:17:56 +08:00
Bjorn Lu
6ced135c6f
fix(build): preload treeshaking ignore equal (#17480) 2024-06-14 09:11:22 +00:00
Bjorn Lu
d355568e8d
fix(build): handle preload treeshaking for braces (#17479) 2024-06-14 08:57:06 +00:00
patak
1f09344b57
chore: consolidate changelog for 5.3 (#17476) 2024-06-14 15:41:27 +08:00
Bjorn Lu
3e27071220
fix(build): handle preload treeshaking for commas (#17472) 2024-06-14 08:43:14 +02:00
bluwy
29a260cb16 release: v5.3.0 2024-06-13 20:49:59 +08:00
Phil Bates
cf3f40cd38
feat(create-vite): use "solution" tsconfig so that vite.config.ts is type checked (#15913)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-06-13 20:46:57 +08:00
gtmnayan
0a76652c33
fix(ssrTransform): handle arbitrary module namespace identifiers (#17446) 2024-06-13 17:36:20 +08:00
Bjorn Lu
f16fae582b
test: disable isolate for unit test (#17448) 2024-06-13 17:10:18 +08:00
btea
ec287f8142
feat: asset type add bmp (#17439) 2024-06-11 16:17:11 +02:00
hmt
68aa9f8e21
fix: typo in client log (#17363) 2024-06-10 22:31:22 +02:00
bluwy
7176c904e2 release: v5.3.0-beta.2 2024-06-10 23:15:11 +08:00
Elias Papavasileiou
2207a68d93
fix: gracefully shutdown preview server on SIGTERM (fix #12990) (#17333) 2024-06-10 23:10:11 +08:00
Arnaud Barré
6db2515437
build: use esbuild to speedup building vite package (#17299) 2024-06-10 22:58:21 +08:00
renovate[bot]
4453d3578b
fix(deps): update all non-major dependencies (#17430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 22:40:16 +08:00
renovate[bot]
507b3defd3
chore(deps): update dependency @rollup/plugin-commonjs to v26 (#17431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-10 21:30:52 +08:00
Ryuya Yanagi
e04193f26b
chore: add error recovery option to LightningCSSOptions (#17420) 2024-06-10 15:18:20 +02:00
Ferdinand Thiessen
a52ed1d640
fix(css): ensure order of extracted CSS (#16588) 2024-06-10 11:34:12 +02:00
bluwy
feae09fdfa release: v5.3.0-beta.1 2024-06-07 19:52:15 +08:00
sun0day
f43f71f224
fix(build): allow dynamic import treeshaking when injecting preload (#14221)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-06 16:29:24 +02:00
shYkiSto
687c38be86
fix(ssr): resolve interlocking circular dependency issues (#15395)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-06 16:21:19 +02:00
翠 / green
67ff94b70c
fix(ssr): remove pure CSS dynamic import (#17371) 2024-06-06 14:51:35 +08:00
btea
a8c7083a3d
chore: add region comment (#17370) 2024-06-03 14:20:27 +00:00
Mikhail Avdeev
b3f5bd17e2
fix(css): handle lightningcss minification in Deno (#17372) 2024-06-03 20:27:32 +08:00
Bjorn Lu
6fbb5e0a03
fix(css): handle url replacing when preprocessing with lightningcss (#17364) 2024-06-03 08:27:39 +02:00
renovate[bot]
f2d52f1384
chore(deps): update all non-major dependencies (#17373) 2024-06-03 08:25:55 +02:00
Dominik G
4835e2bf77
feat(typescript): update tsconfck to add support for ${configDir} replacement in ts 5.5 (#17350) 2024-05-31 12:21:46 +08:00
bluwy
18a68cfcc1 release: v5.3.0-beta.0 2024-05-30 23:07:30 +08:00
bluwy
c8360b5247 release: plugin-legacy@5.4.1 2024-05-30 23:05:34 +08:00
gtmnayan
1f60647885
fix: prevent unhandledRejection if --open fails (#16726) 2024-05-30 09:50:41 +02:00
Bjorn Lu
c735cc7895
fix(plugin-legacy): group discovered polyfills by output (#17347) 2024-05-30 15:06:11 +08:00
proc07
416184376e
fix(optimize-deps): don't externalize JS files imported with asset extensions (#16242) 2024-05-30 15:58:10 +09:00
Hong Xu
e6a70b7c2d
docs(plugin-legacy): update outdated warning about modernPolyfills (#17335) 2024-05-29 17:34:00 +02:00
翠 / green
454e2d1089
refactor: remove acorn (#16238) 2024-05-29 22:47:51 +08:00
Nikita Stenin
f599ab4ae4
fix: adjust import analysis behavior to match Node (#16738) 2024-05-29 22:46:07 +08:00
Miao Wang
48edfcd913
fix(plugin-legacy): improve deterministic polyfills discovery (#16566)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-29 22:26:41 +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
pengbo
9f02a9f7d0
feat: add headTagInsertCheck warning (#16555)
Co-authored-by: pengbo43 <pengbo43@jd.com>
2024-05-29 22:21:42 +08:00
pengbo
98531901ee
refactor(build): remove quotes from preload marker (#16562)
Co-authored-by: pengbo43 <pengbo43@jd.com>
2024-05-29 22:21:25 +08:00
Tristan Lins
4102ca9b0f
feat: add 'system' library format (#11256) 2024-05-29 22:19:22 +08:00
Anthony Fu
4aa4a807c3
refactor: plugin container (#17288) 2024-05-29 22:19:01 +08:00
翠 / green
8880bc5a9a
feat(asset): support /*@vite-ignore*/ for new URL(, import.meta.url) (#16590) 2024-05-29 22:17:53 +08:00
Adam Weiss
5f13bf8cf9
chore(deps): update esbuild (#17290) 2024-05-29 22:17:17 +08:00
Vladimir
14b5cedbfd
feat: add an option to not start a websocket server (#16219) 2024-05-29 22:14:30 +08:00
bluwy
bed3faa0cb release: v5.2.12 2024-05-28 21:14:20 +08:00
Bjorn Lu
5a457454bf
chore(deps): remove unused deps (#17329) 2024-05-28 11:31:28 +00:00
Ferdinand Thiessen
15a6ebb414
fix(css): only use files the current bundle contains (#16684) 2024-05-28 14:02:26 +08:00
Arnaud Barré
f0fb9876de
fix(optimizer): log dependencies added by plugins (#16729) 2024-05-27 23:47:35 +08:00
Anthony Fu
8f167653ed
chore: move to eslint flat config (#16743) 2024-05-27 22:41:39 +08:00
Mikhail Avdeev
8e4e932b49
fix(css): handle lightningcss compiled css in Deno (#17301)
Co-authored-by: Михаил Авдеев <mikhail.avdeev@vk.team>
2024-05-27 22:33:47 +08:00
renovate[bot]
4a89766d83
fix(deps): update all non-major dependencies (#17321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 12:16:22 +08:00
btea
6a085d0467
fix(hmr): normalize the path info (#14255) 2024-05-27 12:08:09 +08:00
Arnaud Barré
e7d38ab1c4
docs: deprecate server.hot (#16741) 2024-05-23 15:59:16 +00:00
renovate[bot]
b45922a91d
chore(deps): update all non-major dependencies (#16722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 15:56:38 +08:00
Yuichiro Yamashita
89378c07b6
fix: mention build.rollupOptions.output.manualChunks instead of build.rollupOutput.manualChunks (#16721) 2024-05-20 15:45:23 +08:00
翠 / green
804184654b
fix(css): page reload was not happening with .css?raw (#16455) 2024-05-18 15:38:35 +08:00
Ceci
abf766e939
docs: correct proxy shorthand example (#15938) 2024-05-18 15:26:04 +08:00
翠 / green
95fe5a79c4
fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#16078) 2024-05-18 15:22:00 +08:00
Arnaud Barré
2b61cc39a9
fix(hmr): trigger page reload when calling invalidate on root module (#16636) 2024-05-14 22:01:36 +08:00
renovate[bot]
76d1642c3c
chore(deps): update dependency execa to v9 (#16662)
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-05-13 15:29:57 +08:00
MattPeng
6583ad25a1
fix(build): make SystemJSWrapRE match lazy (#16633) 2024-05-13 14:55:24 +08:00
renovate[bot]
bf2f0145fe
fix(deps): update all non-major dependencies (#16660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 14:42:44 +08:00
Adam Hines
22dc19601e
fix(error-logging): rollup errors weren't displaying id and codeframe (#16540) 2024-05-09 13:00:40 +08:00
이채준 - CJ Lee
b0b839accc
fix(logger): truncate log over 5000 characters long (#16581) 2024-05-08 12:51:16 +02:00
bluwy
c3b3d3c617 release: plugin-legacy@5.4.0 2024-05-08 12:22:58 +08:00
Xavi Lee
a2652825b7
chore(create-vite): update IDE support instructions in helloworld components (#16605)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-05-07 12:14:54 +02:00
renovate[bot]
671155337a
fix(deps): update all non-major dependencies (#16603)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-05-07 10:01:16 +02:00
Adam Weiss
913c0403a5
fix(sourcemap): improve sourcemap compatibility for vue2 (#16594) 2024-05-05 14:28:53 +02:00
patak-dev
2bc5d3de87 release: v5.2.11 2024-05-02 10:28:10 +02:00
btea
f8feeea41c
feat: improve dynamic import variable failure error message (#16519) 2024-05-02 11:45:39 +08:00
Bjorn Lu
c071eb3822
fix(ssr): handle class declaration and expression name scoping (#16569) 2024-05-02 00:56:28 +09:00
Bjorn Lu
02db9479ac
fix(ssr): handle function expression name scoping (#16563) 2024-05-01 16:30:22 +08:00
renovate[bot]
2d6a13b0aa
fix(deps): update all non-major dependencies (#16549) 2024-05-01 06:40:18 +02:00
Dr. Ralf S. Engelschall
0e93f588b9
fix: scripts and styles were missing from built HTML on Windows (#16421)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-05-01 06:39:49 +02:00
Bjorn Lu
bb79c9b653
fix(preload): skip preload for non-static urls (#16556) 2024-04-30 10:18:56 +02:00
Minjee Son
2322657836
feat(plugin-legacy): support additionalModernPolyfills (#16514) 2024-04-30 11:11:42 +08:00
godky
f71ba5b94a
fix: dynamic-import-vars plugin normalize path issue (#16518) 2024-04-25 09:11:36 +02:00
renovate[bot]
2d50be2a54
fix(deps): update all non-major dependencies (#16488) 2024-04-23 11:27:54 +02:00
Chris Ackerman
4d83eb58cd
fix(dev): watch publicDir explicitly to include it outside the root (#16502) 2024-04-23 12:42:37 +09:00
btea
7171837abb
docs(legacy): update modernTargets option default value description (#16491) 2024-04-23 00:37:14 +09:00
sapphi-red
088d24b922 release: v5.2.10 2024-04-20 19:43:27 +09:00
翠 / green
77e7359083
revert: perf: use workspace root for fs cache (#15712) (#16476) 2024-04-20 19:06:31 +09:00
翠 / green
6a127d67ba
fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453) 2024-04-18 18:16:56 +02:00
翠 / green
11444dcee0
feat: show warning if root is in build.outDir (#16454) 2024-04-18 16:06:16 +00:00
Senao
721f94ddac
fix: add base to virtual html (#16442) 2024-04-18 17:46:03 +02:00
Adam Hines
8e54bbd74d
feat: write cspNonce to style tags (#16419) 2024-04-18 10:54:39 +00:00
Senao
af72eabab1
fix: adjust esm syntax judgment logic (#16436) 2024-04-18 10:39:27 +02:00
Adam Hines
b8726357c9
fix(cspNonce): don't overwrite existing nonce values (#16415) 2024-04-18 09:24:26 +02:00
renovate[bot]
6cccef78a5
chore(deps): update dependency eslint-plugin-n to v17 (#16381)
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-04-15 16:49:17 +08:00
patak-dev
a77707d69c release: v5.2.9 2024-04-15 10:09:58 +02:00
Hiroshi Ogawa
102c2fd5ad
fix: fix accumulated stacks in error overlay (#16393) 2024-04-13 14:48:08 +00:00
翠 / green
4af9f97cad
fix(legacy): modern polyfill autodetection was not injecting enough polyfills (#16367) 2024-04-09 16:09:35 +08:00
renovate[bot]
58a2938a97
fix(deps): update all non-major dependencies (#16376) 2024-04-08 17:17:01 +02:00
btea
77562c3ff2
chore: update region comment (#16380) 2024-04-08 09:43:30 +02:00
btea
b05c405f68
fix: fsp.rm removing files does not take effect (#16032) 2024-04-05 14:39:00 +00:00
Bjorn Lu
e2658ad6fe
perf(css): only replace empty chunk if imported (#16349) 2024-04-05 10:30:20 +08:00
Matyáš Racek
c0ec6bea69
perf: reduce size of injected __vite__mapDeps code (#16184)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-05 10:30:10 +08:00
sapphi-red
8b8d4024fb release: v5.2.8 2024-04-03 22:48:22 +09:00
Caven
646319cc84
fix: do not access document in /@vite/client when not defined (#16318)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-03 12:38:40 +00:00
Hiroshi Ogawa
445c4f2158
fix: fix sourcemap when using object as define value (#15805) 2024-04-03 12:19:35 +02:00
renovate[bot]
a78e265822
chore(deps): update all non-major dependencies (#16325) 2024-04-03 09:07:15 +00:00
翠 / green
4581e8371d
refactor: use types from sass instead of @types/sass (#16340) 2024-04-03 17:10:23 +09:00
Greg T. Wallace
3c85c6b52e
fix: csp nonce injection when no closing tag (#16281) (#16282)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-03-31 20:38:47 +02:00
翠 / green
21cc10bfda
fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) 2024-03-29 13:41:49 +01:00
翠 / green
01af308dfd
fix(css): unknown file error happened with lightningcss (#16306) 2024-03-29 09:24:03 +00:00
翠 / green
eca68fa942
fix(scanner): duplicate modules for same id if glob is used in html-like types (#16305) 2024-03-29 08:57:16 +00:00
patak-dev
ad246da989 release: v5.2.7 2024-03-29 09:13:58 +01:00
patak
45a06daac8
chore: deprecate splitVendorChunkPlugin (#16274) 2024-03-29 07:57:28 +01:00
翠 / green
ffedc06cab
fix(hmr): trigger hmr for missing file import errored module after file creation (#16303) 2024-03-29 07:04:00 +01:00
翠 / green
dfffea1f43
fix(hmr): don't mutate module graph when collecting modules (#16302) 2024-03-29 05:51:38 +01:00
翠 / green
1f5379601e
feat(hmr): reload when HTML file is created/deleted (#16288) 2024-03-27 15:04:53 +01:00
翠 / green
24e376ad86
fix(sourcemap): don't warn even if the sourcesContent is an empty string (#16273) 2024-03-26 09:11:10 +01:00
renovate[bot]
7caef4216e
fix(deps): update all non-major dependencies (#16258)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-03-26 09:00:34 +01:00
Hiroshi Ogawa
890538a694
fix: skip injecting __vite__mapDeps when it's not used (#16271) 2024-03-26 15:49:07 +09:00
sapphi-red
7369016d8a release: v5.2.6 2024-03-24 22:02:21 +09:00
翠 / green
ba5269cca8
fix: fs.deny with globs with directories (#16250) 2024-03-24 13:31:50 +01:00
patak-dev
7a2791ce17 release: v5.2.5 2024-03-24 10:15:01 +01:00
patak
7093f779b7
fix: avoid SSR requests in waitForRequestIdle (#16246) 2024-03-24 07:28:57 +01:00
patak
520bb8917e
docs(create-vite): link to Vue docs for IDE support info (#16225) 2024-03-24 07:24:47 +01:00
Wout Mertens
3a73e485cd
docs: clarify enforce vs hook.order (#16226) 2024-03-24 15:04:31 +09:00