Anthony Fu
d2094ea37a
refactor(vite): enable strict type checking ( #6616 )
2022-08-15 15:40:06 +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
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
Anthony Fu
d15c4727a8
refactor(vite): reuse logic and improve code splitting ( #6164 )
2022-07-27 11:01:25 +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
fa8b0f7c79
feat(vite)!: upgrade vite to v3 ( #5398 )
2022-07-21 12:44:33 +02:00
Daniel Roe
edbe4fe799
feat(vite): check types with vue-tsc
( #6012 )
2022-07-20 17:15:27 +02:00
pooya parsa
0839e93333
fix(vite): unset build.watch
options for production build ( #5958 )
2022-07-17 17:10:27 +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
Ahad Birang
67f40d7e40
fix(vite): do not watch ignored pathes ( #5632 )
2022-06-27 14:06:31 +02:00
Daniel Roe
cf255259ca
fix(vite): add typecheck to vite plugins ( #5464 )
2022-06-15 17:18:45 +02:00
Daniel Roe
11a7340883
feat(nuxt): experimental flag to use external vue dependencies ( #5083 )
2022-06-10 16:31:36 +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
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
pooya parsa
315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x ( #4187 )
2022-04-08 02:05:27 +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
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
38e92597f4
fix(vite): externalise #_config
in ssr: false
( #3899 )
2022-03-25 13:18:57 +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
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
494f85a2b2
fix(vite): narrow nuxt3 inlining config ( #3474 )
2022-03-02 18:54:53 +01:00
Daniel Roe
70542a3af7
feat(nuxt3): expose /app
export paths ( #3323 )
2022-02-18 19:26:43 +01:00
Anthony Fu
467ab693b9
feat: shared logger and silent test logs ( #3259 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Daniel Roe
0f9bcbf68f
fix(vite): invalidate client modules too ( #3116 )
2022-02-08 01:10:42 +01:00
Daniel Roe
b110c8c96c
fix(vite): externalize config at rollup, not ssr level ( #2971 )
2022-01-31 11:54:48 +01:00
Daniel Roe
d07d572263
feat: improve base url options ( #2655 )
2022-01-18 17:59:14 +01:00
Daniel Roe
4728fd545e
fix(vite): invalidate virtual modules when templates are regenerated ( #2725 )
2022-01-17 11:49:53 +01:00
blazmrak
e0fec80baf
fix(vite): build fails with ssr turned off ( #2652 )
2022-01-13 13:39:23 +01:00
Anthony Fu
e9128f39a2
perf(ssr): disable vite's pre-trasnfroming to improve perf ( #2574 )
2022-01-05 19:31:24 +01:00
Anthony Fu
29a2eb3dc1
fix(vite): include dynamic css (revert #2067 ) ( #2227 )
2021-11-30 15:37:01 +01:00
Anthony Fu
a149225e63
fix(vite): separate dynamic deps in dev-bundler ( #2067 )
2021-11-22 18:39:56 +01:00
Anthony Fu
86a47a2fea
fix(vite): external modules under/esm/
pattern ( #1949 )
...
Co-authored-by: Ben <bencodezen@users.noreply.github.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:28:29 +01:00
Daniel Roe
bdbfa36987
fix(vite): improve external checks for dev-bundler ( #1538 )
2021-10-29 10:43:07 +02:00
Daniel Roe
c672d8990a
feat(vite): pass vue options to vite plugin ( #1452 )
2021-10-26 14:49:18 +02:00
pooya parsa
bbeb6b50f5
fix(vite): inline incompatible extensions ( #1332 )
2021-10-21 21:02:10 +02:00
Daniel Roe
d166b78e06
feat(vite): use externality
to resolve externals for ssr dev bundler ( #1172 )
2021-10-20 11:50:29 +02:00
Xin Du (Clark)
c1ee1c4377
feat(vite): support jsx syntax ( #922 )
2021-10-13 12:34:51 +02:00
Pooya Parsa
3c132a8de0
fix(vite): normalize paths before comparing ( #763 )
...
Co-Authored-By: Anthony Fu <hi@antfu.me>
2021-10-12 16:42:52 +02:00
Anthony Fu
44f8904957
fix(vite): dev ssr fouc ( #757 )
2021-10-12 16:05:20 +02:00
pooya parsa
101ef20c34
fix(vite): resolve vue aliases ( #734 )
2021-10-12 10:39:06 +02:00