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
Daniel Roe
e0b2a3bfe4
chore: use node:
prefix for built-in modules ( #4384 )
2022-04-15 17:19:05 +02:00
Anthony Fu
51ae426d4c
fix(vite): dev bundler for cjs support ( #4371 )
2022-04-15 09:57:36 +02:00
Anthony Fu
074daa767c
fix(vite): interop cjs ( #4370 )
2022-04-15 09:40:40 +02:00
Anthony Fu
e31c604ac4
feat(vite-node): on-demand manifest generation ( #3968 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-12 12:04:55 +02:00
Dizzy Rogers
26f8d8eb8f
fix(vite): prefer hmr ws
protocol ( #4203 )
2022-04-09 12:09:43 +02:00
pooya parsa
315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x ( #4187 )
2022-04-08 02:05:27 +02:00
Ahad Birang
f0714d78b0
fix(kit): use route
instead of path
in ServerMiddleware
( #4139 )
2022-04-07 13:32:28 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack ( #3956 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Daniel Roe
3ea39e0745
fix(vite): clean up dynamic paths ( #4130 )
2022-04-06 16:15:36 +02:00
Anthony Fu
ec32cf9fc5
fix(vite): improve warmup ( #4106 )
2022-04-06 07:54:53 +02:00
Daniel Roe
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry ( #4005 )
2022-04-01 15:22:22 +02:00
Daniel Roe
51f3bbfd23
fix(vite): update regex to handle new vite output format ( #4014 )
2022-04-01 12:15:00 +02:00
Daniel Roe
fdd6a91a51
fix(vite): optimise vue
by default ( #3997 )
2022-03-31 16:10:06 +02:00
Anthony Fu
9c2e208090
fix(vite-node): wrong entry been resolved in stub mode ( #3983 )
2022-03-31 09:11:50 +02:00
Anthony Fu
43007c6d13
fix(vite-node): improve server.mjs ( #3967 )
2022-03-30 13:34:23 +02:00
Anthony Fu
56252155ec
fix(vite-node): bugfixes for production build ( #3934 )
2022-03-28 13:02:28 +02:00
Daniel Roe
38e92597f4
fix(vite): externalise #_config
in ssr: false
( #3899 )
2022-03-25 13:18:57 +01:00
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production ( #3854 )
2022-03-24 13:35:09 +01:00
Daniel Roe
93c4dfe091
fix(vite): resolve #_config
in base plugin ( #3848 )
2022-03-23 09:10:12 +01:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths ( #3757 )
...
* test: add tests for dynamic paths + relative assets
Co-authored-by: Anthony Fu <hi@antfu.me>
* fix: rework client config and use shared module for dynamic paths
* resolves webpack public path regression
* refactor: use more similar names to nitro equivalent
* fix: align config exports
* refactor: remove `__` prefix within dynamic paths module
* refactor: use '#_config' to indicate internal alias
* Update packages/nuxt3/src/core/templates.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* refactor: use `#_config` alias and rename to `paths.mjs`
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last ( #3827 )
2022-03-22 11:40:36 +01:00
Anthony Fu
f69126e8f4
feat: support reactivity transform ( #3737 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
Daniel Roe
ff88d91bae
fix: use perfect-debounce
to handle trailing run of promise ( #3679 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 12:11:30 +01:00
Daniel Roe
14b32258e8
fix: ensure debounced/async handlers run in order ( #3656 )
2022-03-15 11:56:16 +01:00
Sébastien Chopin
570016c143
fix(vite): improve logs for client vs server ( #3634 )
2022-03-14 11:19:37 +01:00
Anthony Fu
ac40c9746c
feat(vite): experimental vite-node
support ( #2795 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00
Daniel Roe
78761c236b
fix(vite): handle base in vite/preload-helper
( #3499 )
2022-03-04 12:45:14 +01:00
Anthony Fu
ecee32988d
chore: migrate to magic-string
( #3482 )
2022-03-03 11:01:14 +01:00
Daniel Roe
494f85a2b2
fix(vite): narrow nuxt3 inlining config ( #3474 )
2022-03-02 18:54:53 +01:00