Commit Graph

244 Commits

Author SHA1 Message Date
Anthony Fu
30c4a599d2
refactor(vite): show log when client build is starting (#9759) 2022-12-16 11:47:12 +00:00
Daniel Roe
5afcaca98f
feat(vite): upgrade to vite 4 (#9238) 2022-12-12 15:22:04 +00:00
Daniel Roe
6d0c49101f
style: split out type imports 2022-12-12 12:28:49 +00:00
Daniel Roe
050c6dfd8a
fix(vite): skip _only_ vite transform middleware (#9602) 2022-12-12 12:45:16 +01:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load (#9475) 2022-12-02 16:13:35 +00:00
renovate[bot]
6082135c97
chore(deps): update all non-major dependencies (#9025)
* chore(deps): update all non-major dependencies

* fix ts issue

* fix fallback

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-16 01:02:13 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +01:00
pooya parsa
4a779460a5
fix(vite): add extend layers to fs.allow (#9006) 2022-11-15 11:53:32 +01:00
Daniel Roe
cda498b070
fix(nuxt): do not inline global styles in html response (#8666) 2022-11-03 20:17:43 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe
f485c143f5
fix(nuxt): check before appending comma in composable keys (#8529) 2022-11-02 11:15:33 +01:00
Anthony Fu
b719f1bb21
fix(vite): handle all vite middleware routes (#8601) 2022-11-02 10:05:17 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe
4536242245
fix(vite): invalidate virtual modules with vite-node (#8389) 2022-10-24 10:32:49 +02:00
Daniel Roe
cfaa46201a
fix(nuxt): lazy-load entry CSS (#8278) 2022-10-18 18:13:50 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 (#8218) 2022-10-15 20:42:57 +02:00
Daniel Roe
ed1c704835
fix(vite): prevent overlap between vite assets and app routes (#7989) 2022-10-11 06:26:38 +01:00
Daniel Roe
d25dafef49
fix(vite): add type-checker to client build for ssr: false (#7930)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-10-03 15:37:36 +02:00
pooya parsa
720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
Daniel Roe
42cf48e45d
fix(vite, webpack): handle auto keys for composables without args (#7651) 2022-09-19 16:45:28 +02:00
Daniel Roe
f536bf5548
fix(vite, webpack): avoid generating keys where a key is already provided (#7622) 2022-09-19 11:34:42 +02:00
pooya parsa
57a8a8694a
fix(vite-node): include importer in error stack (#7607) 2022-09-19 11:28:38 +02:00
pooya parsa
abd0feb368
fix(vite): respect ctx.nuxt.options.modulesDir for resolving externals with vite-node (#7612) 2022-09-17 00:29:41 +02:00
Daniel Roe
5bc654495a
fix(vite): include id and stack in vite-node fallback error handler (#7575)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-16 20:12:52 +02:00
pooya parsa
cfaca9c5c7
fix(vite): normalize vite-node error data from server (#7589) 2022-09-16 19:43:35 +02:00
pooya parsa
43b9bcaeaf
fix(nuxi, vite): ipv6 support for nuxi dev (#7560)
* fix(nuxi): ipv6 support for `nuxi dev`

* fix vite: use listener url directly

* add url to schema
2022-09-15 18:10:36 +02:00
Daniel Roe
5855ba4684
fix(nuxt): pass fully resolved path to nitro dist files (#7494) 2022-09-15 13:24:43 +02:00
pooya parsa
9426b54562
fix(vite): nuxi dev --https working out of the box (#7547) 2022-09-15 13:01:52 +02:00
pooya parsa
09c42fd886
fix(vite): disable server warmup with vite-node (#7512) 2022-09-14 17:59:56 +02:00
pooya parsa
326d62803b
fix(vite): show formatted vite-node errors (#7509) 2022-09-14 17:58:28 +02:00
Daniel Roe
9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining (#7440) 2022-09-12 17:14:11 +02:00
Daniel Roe
d5078168be
fix(vite): use same asset filenames between server and client (#7436) 2022-09-12 12:12:41 +02:00
Daniel Roe
83949c3734
fix(nuxt): always inline entry styles (#7386) 2022-09-10 11:43:17 +02:00
Daniel Roe
0ab29f6f2a
fix(vite): write dev manifest before spa build (#7380) 2022-09-09 12:28:07 +02:00
Daniel Roe
e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Daniel Roe
e22bbcc380
fix(vite): update render if it is invalidated (#7347) 2022-09-08 16:17:22 +02:00
Daniel Roe
2b37d72eb9
fix(vite): allow overriding vite sourcemap (#7342) 2022-09-08 15:52:30 +02:00
Daniel Roe
be77d477d0
fix(webpack): don't parse styles for composable keys (#7333) 2022-09-08 10:55:30 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Daniel Roe
577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined (#7264) 2022-09-07 10:41:08 +02:00
Daniel Roe
a4fa070ad5
refactor(vite): reuse resolved server entry from context (#7268) 2022-09-06 10:21:17 +02:00
Daniel Roe
d115b01a35
fix(vite): pass ssr condition to getModuleByUrl (#7260) 2022-09-05 22:52:14 +02:00
Daniel Roe
1abd5f1959
fix(vite): use baseURL + assetsDir as base in dev mode (#7234) 2022-09-05 10:48:35 +02:00
HomWang
1fc34e6c06 chore: lint (#7213) 2022-09-04 10:31:57 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response (#7160)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Anthony Fu
537338f116
fix(nuxt): pass and format vite-node build errors (#6683)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 12:02:14 +02:00
Daniel Roe
fd6d1d4fbe
fix(vite): sanitize client asset chunk names (#7067) 2022-08-30 15:13:23 +02:00
Daniel Roe
af2835fa7f
fix(vite): remove client manifest.json from public dir (#7021) 2022-08-29 11:37:53 +02:00
Daniel Roe
faf00f526f
fix(vite): dedupe vue in client bundle (#6735) 2022-08-18 10:06:37 +02:00