Commit Graph

421 Commits

Author SHA1 Message Date
Daniel Roe
3ac8b18cb6
fix(vite): strip query strings for style chunk filenames (#25764) 2024-02-13 09:53:46 +00:00
renovate[bot]
eb1593ceba
chore(deps): update all non-major dependencies (main) (#25682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-09 22:59:41 +00:00
Aman Desai
ae83df8c43
fix(vite): treat .pcss extension as a CSS extension (#25673) 2024-02-07 10:00:30 +00:00
Michael Brevard
860cfe16b3
perf(vite): avoid endsWith when checking for whitespace (#24746) 2024-01-29 11:11:06 +00:00
Daniel Roe
c446602529
fix(vite): extract styles for shared chunks (#25455) 2024-01-28 21:25:42 +00:00
Daniel Roe
648ef06993
fix(vite): pass hidden sourcemap values to vite (#25329) 2024-01-19 18:08:17 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility (#25028) 2024-01-18 16:09:27 +00:00
Michael Brevard
3b94883414
perf(nuxt): iterate rather than using Object.fromEntries (#24953) 2024-01-09 09:56:40 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace (#24880) 2023-12-25 14:03:29 +00:00
Damian Głowala
a2ef3091e8
feat(kit,nuxt,vite,webpack): add toArray util (#24857) 2023-12-23 14:22:58 +00:00
Michael Brevard
59cac484d9
perf(vite): avoid duplicate JSON.stringify operation (#24848) 2023-12-21 09:26:59 +00:00
Daniel Roe
2c1012326e
chore: pin rollup to v4 (#24814) 2023-12-18 18:45:30 +01:00
Daniel Roe
6c7d430845
refactor(nuxt): remove process.* usage in nuxt vue app (#24749) 2023-12-14 13:58:25 +00:00
Daniel Roe
37a5d35a6d
feat(vite): replace browser globals with undefined on server (#24711) 2023-12-14 13:17:50 +00:00
Michael Brevard
4e0d2c073f
perf(vite): simplify manifest property acccess (#24715) 2023-12-14 11:25:20 +00:00
Michael Brevard
62df8f086d
perf(vite): avoid duplicate resolve operation (#24736) 2023-12-14 10:32:22 +00:00
Daniel Roe
1e393ad696
fix(vite,webpack): don't add type checker/analyzer when testing (#24608) 2023-12-05 17:09:46 +00:00
Daniel Roe
4b3892117f
fix(vite): use isBuiltin polyfill for greater node support (#24512) 2023-11-28 21:53:12 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) (#24477) 2023-11-27 23:02:02 +00:00
renovate[bot]
e554f2be68
chore(deps): update dependency vite to v5 (main) (#24336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-23 22:19:28 +00:00
Pooya Parsa
63685431d8
chore(deps): upgrade to nitro 2.8 (#24370) 2023-11-20 18:10:58 +00:00
Daniel Roe
86693c1005
fix(vite): use rollup replace plugin for typeof optimisations (#23903) 2023-11-14 12:22:40 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Dario Ferderber
2832f0114b
fix(vite): provide default values for transformAssetUrls (#24173) 2023-11-07 19:40:16 +00:00
Daniel Roe
dfff6f13c4
fix(vite): skip warming up node builtins (#24162) 2023-11-07 11:41:24 +00:00
Mehdi Lahlou
38b6d88cfa
fix(vite): normalise entry id for typeCheck plugin (#24114) 2023-11-03 22:35:13 +00:00
Daniel Roe
dc04f28cff
fix(vite): include more of warmup within try/catch (#24072) 2023-11-02 09:35:32 +00:00
Daniel Roe
27791f4c33
perf(nuxt): remove pure annotations plugin (#24033) 2023-10-30 22:04:45 +01:00
Daniel Roe
4f017a5538
fix(vite): don't warm up css deps and normalise urls correctly (#23975) 2023-10-30 22:02:41 +01:00
Daniel Roe
4b2608c74d
fix(vite): use h3 cors handler for vite routes only (#23995) 2023-10-29 02:14:39 +09:00
Daniel Roe
cd76c617fa
fix(nuxt,schema,vite,webpack): analyze w/o overriding config (#23856) 2023-10-23 20:19:16 +09:00
Daniel Roe
eb40409f23
feat(kit,nuxt,vite,webpack): support -nightly extension (#23508) 2023-10-12 15:17:38 +01:00
renovate[bot]
a5dad0d2e8
chore(deps): update devdependency eslint-plugin-jsdoc to v46 (main) (#23614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-11 13:31:22 +01:00
Daniel Roe
876fa7f313
perf(vite): don't print server compressed size after vite build (#23359) 2023-09-28 14:13:10 +01:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
Daniel Roe
51d90014cf
fix(vite): explicitly set vite manifest path (#23276) 2023-09-18 13:09:59 +01:00
翠 / green
3334ca26c6
fix(nuxt): handle vite preload-helper id with extension (#23230) 2023-09-15 13:16:09 +01:00
Daniel Roe
c045c4b154
fix(vite): remove dev styles injected via absolute path (#23126) 2023-09-11 14:40:47 +01:00
Daniel Roe
411ecabd10
fix(vite): add css to manifest without cssCodeSplit (#23049) 2023-09-11 09:47:57 +01:00
Daniel Roe
16d47ead2e
fix(vite): don't set explicit conditions in shouldExternalize (#22991) 2023-09-04 13:49:26 +01:00
Daniel Roe
b319087c9f
fix(vite): only mark nitro deps as externals when building (#22812) 2023-08-25 14:57:41 +01:00
Mihailo Bursac
a70904fd8b
perf(nuxt): reduce multiple calls to dirname (#22800) 2023-08-25 08:50:46 +01:00
Daniel Roe
23723305da
feat(schema): support setting hidden sourcemaps (#22787) 2023-08-24 13:06:44 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages (#20391) 2023-08-23 21:38:17 +01:00
pooya parsa
a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage (#22515)
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
anhao
4e538a03e2
fix(vite): use '' key for root scope in variable collector (#22679) 2023-08-17 15:35:28 +02:00
Daniel Roe
758ae76709
fix(vite): include import.meta build vars in define as well (#22576) 2023-08-10 09:51:58 +01:00
Lehoczky Zoltán
e373fa7d68
feat(nuxt): warn on external webpack/nitro/postcss config (#22521) 2023-08-08 12:33:10 +01:00
Daniel Roe
37ba586300 fix(vite): disable assignement in replace plugin 2023-08-08 07:07:46 +01:00
Daniel Roe
4552d39c4d fix(vite): add hookable to externals list 2023-08-08 07:07:46 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Daniel Roe
b5c9a81d68
feat(nuxt): resolve unresolved paths within node_modules (#22478) 2023-08-07 23:05:29 +01:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile (#22518) 2023-08-07 14:03:41 +01:00
Daniel Roe
e2a6ad353d
feat(schema,vite): allow $client and $server vite env overrides (#22302) 2023-07-24 18:32:12 +01:00
Daniel Roe
1605a532a1
fix(vite): pass modulesDir to isExternal (#21966) 2023-07-06 14:22:31 +01:00
anhao
e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
Daniel Roe
958562086f
fix(vite): remove @vue/ scoped libraries from resolutions (#21922) 2023-07-04 08:27:34 +01:00
Daniel Roe
87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles (#21864) 2023-06-30 05:25:43 +01:00
Daniel Roe
d4addcf7b1
fix(vite): greater type-safety within runtime vite-node (#21849) 2023-06-28 22:19:51 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
Daniel Roe
12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
Daniel Roe
dd913ce0d8
fix(vite): resolve css files without importer id first (#21770) 2023-06-25 22:51:31 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Nozomu Ikuta
48c2b458a1
fix(vite): ignore and warn if vite config file exists (#21588) 2023-06-16 15:19:53 +01:00
Daniel Roe
c6a62268c3
fix(vite): invalidate templates by dst not src (#21501) 2023-06-10 18:14:58 +01:00
Lehoczky Zoltán
7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
renovate[bot]
5872015be3
fix(vite): remove resolveId workaround and update vite-node (#21423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe
05b577e550
fix(nuxt): support usage of std-env in runtime code (#21372) 2023-06-05 19:23:38 +01:00
Alexander
6163c5e32a
fix(nuxt): display errors in client overlay with typeCheck (#21064) 2023-06-05 15:58:18 +01:00
Daniel Roe
b7547c3ce1
fix(vite): narrow vite-node inline pattern (#21224) 2023-05-28 18:54:24 -05:00
Daniel Roe
c37ebab1ef
perf(nuxt): use .test and hoist regexps where possible (#21011) 2023-05-22 21:25:42 +01:00
renovate[bot]
37b4e32a6e
chore(deps): update all non-major dependencies (main) (#20922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 22:11:45 +01:00
Daniel Roe
ebbda2cbe4
fix(vite): dedupe/optimize more vue core deps (#20829) 2023-05-14 12:56:15 +01:00
Julien Huang
90ab1b50f4
fix(nuxt): always inline styles for server/island components (#20599) 2023-05-11 23:33:17 +01:00
Daniel Roe
8cca5cc9d8
fix(vite): expand fs.allow dirs to include app files (#20755) 2023-05-10 13:45:49 +01:00
Daniel Roe
a793e7ad48
chore: type-check .mjs files (#20711) 2023-05-06 23:00:50 +01:00
Anthony Fu
1f38863c06
fix(nuxt, vite): ignore nuxt_component ssr style and isVue (#20679) 2023-05-04 17:19:03 +01:00
Anthony Fu
17ca50354b
feat(vite): introduce vite:configResolved hook (#20411) 2023-04-29 23:37:06 +01:00
Daniel Roe
0ea719776b
refactor(vite): use native isFileServingAllowed util (#20414) 2023-04-20 14:00:05 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Daniel Roe
574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Anthony Fu
886350a27c
fix(vite): avoid serving arbitrary file in vite-node middleware (#20345) 2023-04-18 12:30:16 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
b602b66a8e
fix(vite): set different cache dirs for client/server (#20276) 2023-04-14 13:25:33 +01:00
Daniel Roe
89ab2e522d
fix(nuxi, vite): suppress sourcemap + native fetch warnings (#20198) 2023-04-11 05:46:49 -07:00
Daniel Roe
ea4b5220a4
feat: upgrade to consola v3.x prerelease (#20141) 2023-04-08 03:16:06 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Daniel Roe
fe04bf0f7b
refactor(vite): use rollup types re-exported from vite (#20011) 2023-03-31 02:56:10 -07:00
Daniel Roe
ae82d70895
fix(vite): allow extending vue config per-environment (#19968) 2023-03-29 03:59:57 -07:00
Daniel Roe
4430c664e8
fix(vite): support multiple rollup entries (#19842) 2023-03-21 14:35:51 -07:00
Daniel Roe
edaca1a299
fix(vite): allow disabling clear screen behaviour (#19531) 2023-03-09 01:19:02 -08:00
Anthony Fu
624314600d
feat(vite): use custom logger to show vite logs (#19523) 2023-03-08 03:56:41 -08:00
Daniel Roe
c2ab76d68e
perf(vite): mark more core functions as side-effect free (#19508) 2023-03-07 14:51:08 -08:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
Jakub Andrzejewski
3f1e02351d
feat(nuxi,schema): add support for setting nuxt logLevel (#19369) 2023-03-07 04:18:47 -08:00
Daniel Roe
73ade185b2 fix(vite): omit / from sourcemapIgnoreList for windows support 2023-03-03 10:35:25 +00:00