Commit Graph

184 Commits

Author SHA1 Message Date
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
pooya parsa ffd40d16c8
fix(vite): use more strict app entry check in dev-bundler (#5959) 2022-07-17 18:01:16 +02:00
pooya parsa 0839e93333
fix(vite): unset `build.watch` options for production build (#5958) 2022-07-17 17:10:27 +02:00
Anthony Fu 4abcfb6bf9
fix(vite): avoid creating server for production build (#5941) 2022-07-17 16:17:07 +02:00
Anthony Fu 537b6e35bd fix(vite): set transform mode for `vite-node` (#5854)
close #5543
2022-07-14 16:01:21 +02:00
Daniel Roe 3ad12b5f4a
fix(vite): close vite watcher before building (#5875) 2022-07-13 14:44:07 +02:00
Daniel Roe 23546a270c
feat(nuxt): automatically generate unique keys for keyed composables (#4955)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Daniel Roe 00c1daebaf
fix(vite): do not inline dynamic imports in server (#5506)
* fix(vite): do not inline dynamic imports in server

* chore: add link to upstream pr
2022-07-06 21:19:16 +02:00
Anthony Fu 7efdb486db
fix(vite-node): on-demand manifest (#5017) 2022-06-27 14:08:52 +02:00
Ahad Birang 67f40d7e40
fix(vite): do not watch ignored pathes (#5632) 2022-06-27 14:06:31 +02:00
Daniel Roe e38de4af4d
fix(vite): disable hmr in build (#5505) 2022-06-22 20:07:54 +02:00
Daniel Roe cf255259ca
fix(vite): add typecheck to vite plugins (#5464) 2022-06-15 17:18:45 +02:00
Daniel Roe 8831e4a4b9
fix(vite): don't terminate with escaped delimiters (#5409) 2022-06-10 17:17:11 +02:00
Daniel Roe 11a7340883
feat(nuxt): experimental flag to use external vue dependencies (#5083) 2022-06-10 16:31:36 +02:00
Anthony Fu fadffbe80c
chore: clean up jsdoc (#5397) 2022-06-10 14:14:03 +02:00
Xin Du (Clark) 139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Jeremy Ye bd80d27a49
fix(vite): add `file://` protocol to `vite-node` entry file path (#4966) 2022-05-13 13:00:14 +02:00
Daniel Roe 17f9c54a79
feat(vite): replace `global` with `globalThis` (#4958) 2022-05-13 12:49:30 +02:00
Dario Merz 31c67ad9b4
fix(vite): ignore virtual imports that aren't in vfs (#4822)
Co-authored-by: Dario Merz <dario.merz@deptagency.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-06 15:33:32 +02:00
Daniel Roe 4079882bd4
fix(vite): use `buildAssetsURL` for dynamic imports (#4844) 2022-05-06 12:51:31 +02:00
Daniel Roe 1f8e3e2f33
feat(nitro): add `nitro:build:before` hook (#4304)
* fix(nitro): add back `nitro:generate` hook

* fix: use `nitro:generate` hook for vite workarounds

* fix: remove comment

* fix: only call `nitro:generate` in build mode

* rename hook to `nitro:_build`

* fix: use `nitro:build:before`

* move dev guard

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-02 22:15:47 +02:00
Daniel Roe b8d2e64c78
fix(vite): don't match across newlines (#4596) 2022-04-25 18:55:33 +02:00
Daniel Roe 650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
Daniel Roe 4c6c027014
fix(vite): use single regex to reduce risk of collisions (#4442) 2022-04-22 17:22:22 +02:00
Daniel Roe 648a70e97b
fix(vite): transform virtual templates (#4512) 2022-04-22 10:32:26 +02:00
pooya parsa 4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
pooya parsa 756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +02:00
Daniel Roe ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00