Commit Graph

413 Commits

Author SHA1 Message Date
Daniel Roe
4fd24381c2
fix(nuxt): use case-insensitive regexp for <script> blocks 2024-09-11 11:48:59 +01:00
Daniel Roe
1b53df5bfb
refactor(nuxt): use vite:preloadError event (#28862) 2024-09-11 11:48:58 +01:00
Daniel Roe
3f508d521f
chore(vite): use correct type import 2024-09-09 10:31:35 +01:00
Daniel Roe
02c08b03aa
fix(nuxt): improve accuracy of module resolution conditions (#28846) 2024-09-09 10:28:50 +01:00
Daniel Roe
7c359a3cab
docs: update broken/redirected links (#28739) 2024-08-28 22:20:10 +01:00
Daniel Roe
9397def672
feat(vite): preserve vite sourcemaps for nitro build (#28521) 2024-08-13 20:44:00 +01:00
Daniel Roe
5bf971f4ef
fix(vite): include module symbols in generated code (#28509) 2024-08-13 20:43:59 +01:00
Julien Huang
68ccc9f264
fix(vite): add transformation result to log for parse errors (#28508) 2024-08-13 20:43:59 +01:00
Daniel Roe
f6e56fd3b2
fix(vite): respect baseURL for public assets in dev (#28482) 2024-08-13 20:43:58 +01:00
Daniel Roe
44e3d4e87f
fix(vite,webpack): handle local postcss plugins (#28481) 2024-08-09 13:10:48 +01:00
renovate[bot]
17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
Daniel Roe
fceb74906d
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-05 10:52:12 +01:00
izzy goldman
4391381c61
refactor(schema,vite,webpack): rework postcss module loading (#27946)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-02 20:51:13 +01:00
Daniel Roe
20dc6e5030
perf(vite): avoid extra resolve call for resolveId in layers (#27971) 2024-07-02 20:51:12 +01:00
Daniel Roe
90900c6c8a
perf(vite): start warmups after nitro build (#27963) 2024-07-02 20:51:11 +01:00
Daniel Roe
f9fa1a3e99
fix(vite): fix type issue with legacy dev bundler 2024-07-01 23:33:52 +01:00
Daniel Roe
0cd98e1164
fix(vite): omit css ?raw from head when in dev mode (#27940) 2024-07-01 23:03:55 +01:00
Daniel Roe
fd46d670f2
chore: improve type safety with indexed access (#27626) 2024-06-28 14:14:46 +02:00
Daniel Roe
e3448fa0da
chore(vite): restore utils required for dev-bundler 2024-06-24 23:50:37 +02:00
Daniel Roe
bcb6ace718
perf(nuxt,vite): use native fs utils rather than fs-extra (#27787) 2024-06-24 23:44:32 +02:00
Daniel Roe
2de885bab5
fix(nuxt): reduce usage of cjs utilities (#27642) 2024-06-16 00:03:24 +01:00
Josh Dean
88f0b4f420
fix(schema,vite): respect vite.cacheDir if defined (#27628) 2024-06-15 22:02:57 +01:00
Daniel Roe
ffdc358561
perf(vite): various performance improvements (#27601) 2024-06-13 23:35:00 +01:00
Jakub Szafrański
b8bb1aacd5
fix(vite): don't get available port when hmr.server is set (#27326) 2024-05-28 13:48:33 +01:00
Anthony Fu
d1ac12c98c
perf(vite): exclude common ESM deps from pre-bundling (#27372) 2024-05-27 14:26:03 +01:00
Anthony Fu
2f932698c3
fix(vite): disable optimizeDeps in ssr (#27356) 2024-05-26 15:46:42 +01:00
Daniel Roe
5f60aa5a48
fix(vite): suppress warning about unresolved public assets (#27328) 2024-05-23 16:48:27 +01:00
Daniel Roe
c054ca084c
fix(vite): handle runtime paths in inlined styles (#27327) 2024-05-23 15:34:06 +01:00
Daniel Roe
305c7348bd
fix(vite): ignore query/hash when resolving public assets (#27306) 2024-05-22 15:40:29 +01:00
Anthony Fu
b96b62ecd2
refactor: improve regexp performance (#27207) 2024-05-14 12:54:37 -05:00
Daniel Roe
af2e2da27c
fix(vite): inline styles for vue components with lang="ts" (#26912) 2024-04-24 11:43:06 +01:00
Luke Nelson
306174c4d8
docs: add @since annotations to exported functions (#25365) 2024-04-19 17:58:19 +03:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Daniel Roe
9bb8976470
fix(schema): update webpack transformAssetUrls + pass hoistStatic to vite plugin (#26563) 2024-04-03 10:16:15 +01:00
Daniel Roe
8c3159f4ba
fix(nuxt): pass joinRelativeURL + share paths on server (#26407) 2024-03-21 11:57:11 +00:00
Daniel Roe
dfe31aa143
fix(vite): use ssr result if it exists (#26356) 2024-03-18 21:17:08 +00:00
Daniel Roe
b9168d0b0b
fix(vite): drop name prefix for client chunk file names (#26203) 2024-03-15 11:31:13 -07:00
Daniel Roe
9d08cdfd1f
fix(vite): explicitly import publicAssetsURL 2024-03-15 11:00:18 -07:00
Daniel Roe
b102d04185
feat(vite): handle multiple/custom public dirs (#26163) 2024-03-13 17:18:44 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
Daniel Roe
f0a7ccd588
fix(vite): optimise layer dependencies with vite (#25752) 2024-02-13 09:54:13 +00:00
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