Commit Graph

415 Commits

Author SHA1 Message Date
Daniel Roe
5a61bc52f2
fix(nuxt): use case-insensitive regexp for <script> blocks 2024-09-11 11:41:47 +01:00
Daniel Roe
2f0a28d47e
refactor(nuxt): use vite:preloadError event (#28862) 2024-09-11 11:01:55 +01:00
Daniel Roe
a39773b1ab
fix(nuxt): improve accuracy of module resolution conditions (#28846) 2024-09-05 22:36:15 +02:00
Daniel Roe
d1c40328fe
docs: update broken/redirected links (#28739) 2024-08-28 13:28:14 +01:00
Daniel Roe
7f199d014f
feat(vite): preserve vite sourcemaps for nitro build (#28521) 2024-08-13 17:01:13 +01:00
Daniel Roe
0dd659066c
fix(vite): include module symbols in generated code (#28509) 2024-08-12 22:15:05 +01:00
Julien Huang
fefe4e5c8d
fix(vite): add transformation result to log for parse errors (#28508) 2024-08-12 22:07:53 +01:00
Daniel Roe
4eef63469b
fix(vite): write dev manifest when ssr: false (#28488) 2024-08-09 17:43:42 +01:00
Daniel Roe
4d36810334
fix(vite): respect baseURL for public assets in dev (#28482) 2024-08-09 13:46:38 +01:00
renovate[bot]
c906312034
chore(deps): update all non-major dependencies (main) (#28321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-05 16:33:27 +01:00
Daniel Roe
2d136e04c6
fix(kit): revert change to tryResolveModule 2024-07-03 23:19:54 +01:00
Daniel Roe
79193561b9
refactor(kit,nuxt,vite,webpack)!: remove legacy require utils (#28008) 2024-07-03 21:12:33 +01:00
Daniel Roe
128edc76fc
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-03 17:46:42 +01:00
izzy goldman
373d015ae7
refactor(schema,vite,webpack): rework postcss module loading (#27946)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-02 19:28:48 +01:00
Daniel Roe
e717937c03
perf(vite): don't write stub manifest for legacy bundler (#27957) 2024-07-02 19:27:38 +01:00
Daniel Roe
ebe6c7122c
perf(vite): avoid extra resolve call for resolveId in layers (#27971) 2024-07-02 19:26:58 +01:00
Daniel Roe
a8eb2a46e1
perf(vite): start warmups after nitro build (#27963) 2024-07-02 18:01:52 +01:00
Daniel Roe
0f684970e9
fix(vite): omit css ?raw from head when in dev mode (#27940) 2024-07-01 10:30:09 +01:00
Daniel Roe
53df20ef2b
chore: improve type safety with indexed access (#27626) 2024-06-27 16:27:08 +02:00
Daniel Roe
8f95cac34c
feat(kit,nuxt,schema,vite,webpack): nitropack v3 nightly (#27702) 2024-06-26 15:18:05 +02:00
Daniel Roe
54e8bd0e7e
perf(nuxt,vite): use native fs utils rather than fs-extra (#27787) 2024-06-24 10:39:38 +01:00
Daniel Roe
4d063f1f85
fix(schema,vite)!: do not allow configuring vite dev bundler (#27707) 2024-06-19 13:57:08 +01: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