Commit Graph

59 Commits

Author SHA1 Message Date
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
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load (#9475) 2022-12-02 16:13:35 +00:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +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
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
pooya parsa
720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +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
e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Daniel Roe
2b37d72eb9
fix(vite): allow overriding vite sourcemap (#7342) 2022-09-08 15:52: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
1abd5f1959
fix(vite): use baseURL + assetsDir as base in dev mode (#7234) 2022-09-05 10:48:35 +02:00
Daniel Roe
fd6d1d4fbe
fix(vite): sanitize client asset chunk names (#7067) 2022-08-30 15:13:23 +02:00
Daniel Roe
faf00f526f
fix(vite): dedupe vue in client bundle (#6735) 2022-08-18 10:06:37 +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
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
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
Anthony Fu
6b20d9eff1
fix(vite): fix dist dir resolution (#6215) 2022-07-29 14:33:24 +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
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
Anthony Fu
4abcfb6bf9
fix(vite): avoid creating server for production build (#5941) 2022-07-17 16:17:07 +02:00
pooya parsa
756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +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
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry (#4005) 2022-04-01 15:22:22 +02: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
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
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
Anthony Fu
61188e15cf
fix(vite): hmr port priority (#3190) 2022-02-11 13:09:25 +01:00
Anthony Fu
089160a541
fix(vite): assign different hmr port for each instance (#3169)
Co-authored-by: danielroe <danielroe@users.noreply.github.com>
2022-02-10 17:37:05 +01:00
Daniel Roe
b803fdb4f9
fix(vite): handle emitted assets with relative urls and dynamic base (#2851) 2022-01-24 13:57:24 +01:00
Daniel Roe
d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
pooya parsa
6eb4040b23
fix(vite): remove global replacement (#1835) 2021-11-10 21:15:26 +01:00
Anthony Fu
4da062a120
refactor(vite): move analyzePlugin to a seperate file (#1710) 2021-11-05 09:58:03 +01:00
Anthony Fu
85d173d653
fix(vite): swap <link> style on dev ssr (#1712) 2021-11-05 09:55:53 +01:00
Daniel Roe
f5aea9f742
fix(vite): don't replace process.env (#1543) 2021-10-28 16:48:42 +02:00
Daniel Roe
c672d8990a
feat(vite): pass vue options to vite plugin (#1452) 2021-10-26 14:49:18 +02:00
Daniel Roe
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
Anthony Fu
39ed77e229
fix(vite): dev ssr fouc with preprocessors (#1101) 2021-10-18 09:54:20 +02:00
Xin Du (Clark)
c1ee1c4377
feat(vite): support jsx syntax (#922) 2021-10-13 12:34:51 +02:00
Anthony Fu
44f8904957
fix(vite): dev ssr fouc (#757) 2021-10-12 16:05:20 +02:00
Anthony Fu
bb8c4ff019
feat(vite): vite dev server bundler (#604)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-05 16:18:03 +02:00
pooya parsa
6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Anthony Fu
e13baf9867
feat(nuxt3): remove <script setup> transform and prefer top level await (#579)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-30 20:19:55 +02:00