Commit Graph

211 Commits

Author SHA1 Message Date
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
Anthony Fu 43e6c0295f
fix(vite): improve `vite-node` module invalidation (#6736) 2022-08-18 10:05:37 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
pooya parsa 58c4753ed4
fix(vite): warmup server entries with `ssr` condition (#6649) 2022-08-15 18:03:00 +02:00
pooya parsa dae836a81d
feat(vite): allow disabling entry warmup (#6647)
* feat(vite): allow opt-out from warming up entries

* refactor: move to `warmupEntry`
2022-08-15 18:01:34 +02:00
Anthony Fu d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Daniel Roe 385fa6037a
fix(vite): pass relative url as default base (#6637) 2022-08-15 15:10:53 +02:00
Pooya Parsa e109d65c30 chore: ignore typechecking for visualizer plugin 2022-08-15 14:55:12 +02:00
Anthony Fu 1b2304b632
feat(schema, vite)!: enable `vite-node` by default (#6217)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-13 14:43:26 +02:00
pooya parsa b4bea517df
fix(nuxi): update `server.port` and `server.host` with listener info (#6595) 2022-08-13 13:52:03 +02:00
Daniel Roe 0a513a56b1
feat(webpack, vite): default to `.js` extension for client (#6505) 2022-08-12 16:16:08 +02:00
Daniel Roe 70b024fbaa
fix(vite, nuxt): resolve relative to `srcDir` rather than `rootDir` (#6546) 2022-08-12 11:11:09 +02:00
pooya parsa aaf4bcd025
fix(vite): remove `/@fs` from external ids (#6529) 2022-08-11 19:39:02 +02:00
pooya parsa 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
Daniel Roe ae388e7293
fix(vite): add `module` type to vite node entry (#6448) 2022-08-09 09:59:08 +02:00
pooya parsa ee36ddf516
fix(nuxt): add `viteServerDynamicImports` as experimental flag (#6433) 2022-08-08 15:25:58 +02:00
pooya parsa ea868f5586
fix(vite): add hotfix for netlify deployments (#6412) 2022-08-07 11:56:00 +02:00
Daniel Roe 41d6f372a7
feat(nuxt): update to `vue-bundle-renderer@0.4` (#6210) 2022-08-07 11:52:34 +02:00
Daniel Roe 463c15e3d2
fix(vite): use url for entry on windows (#6355) 2022-08-04 17:24:35 +02:00
pooya parsa 23329e0599
feat(vite): log vite-node hmr updates (#6351) 2022-08-04 13:13:12 +02:00
Anthony Fu 972f4b47bc
fix(vite): improve `vite-node` hmr (#6343) 2022-08-04 12:03:46 +02:00
Anthony Fu 6b20d9eff1
fix(vite): fix dist dir resolution (#6215) 2022-07-29 14:33:24 +02:00
Daniel Roe 3f2eb3a3b1
fix(vite, webpack): generate composable keys based on order (#6191) 2022-07-29 11:40:04 +02:00
Anthony Fu d15c4727a8
refactor(vite): reuse logic and improve code splitting (#6164) 2022-07-27 11:01:25 +02:00
Anthony Fu 5e62e0fec0
fix(vite): use `externality` to handle vite-node externals (#6153) 2022-07-26 15:49:17 +02:00
Anthony Fu f0485d83d9
perf(vite-node): only invalidate cache for user code (#6156) 2022-07-26 15:46:06 +02:00
Anthony Fu a585086c8b
fix(nuxt): clear `vite-node` runner cache after each render (#6154) 2022-07-26 15:13:40 +02:00
Daniel Roe 8298cf27e6
fix(vite): allow overriding client hmr options (#6082)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-25 14:29:41 +02:00
Mohammad Hosein Feizi cccafd620f
fix(vite): resolve `tsconfig.json` for vue-tsc type checker (#6069) 2022-07-25 13:02:42 +02:00
Daniel Roe c7d072c495
fix(vite): ignore baseurl when pruning manifest (#6063) 2022-07-25 11:52:21 +02:00
Daniel Roe 45b449ed05
fix(vite): invalidate virtual files when changed (#6038) 2022-07-21 16:21:58 +02:00
Daniel Roe fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
Daniel Roe bdbeb886ae
fix(webpack): do not resolve `#internal/nitro` alias internally (#5987) 2022-07-20 18:59:05 +02:00
Daniel Roe edbe4fe799
feat(vite): check types with `vue-tsc` (#6012) 2022-07-20 17:15:27 +02:00