webapp-scaffold/src
Claude b00a4320a7 core-fetch: baseUrl accepts () => string for lazy resolution
Lets consumers pass `() => import.meta.env.BASE_URL` without orval's CJS
bundle path blowing up on the top-level `import.meta` reference. The
getter is invoked at request time rather than factory time, so the
mutator file can be loaded by orval (which bundles to CJS) without
evaluating `import.meta`.

Closes uwe.admin/webapp-template#21 (scaffold side).

Bump to v0.5.0 — additive change (string form still works) but new
shape for `CoreFetchOptions.baseUrl` is a public API change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 22:49:06 +02:00
..
core-fetch.test.ts core-fetch: baseUrl accepts () => string for lazy resolution 2026-05-19 22:49:06 +02:00
core-fetch.ts core-fetch: baseUrl accepts () => string for lazy resolution 2026-05-19 22:49:06 +02:00
i18n-react.test.tsx #4: vitest harness + suites for createCoreFetch / createI18n / useI18nStore 2026-04-25 21:45:31 +02:00
i18n-react.ts v0.3.0: i18n system (locale × tone) with fallback chain 2026-04-21 22:12:18 +02:00
i18n.test.ts #4: vitest harness + suites for createCoreFetch / createI18n / useI18nStore 2026-04-25 21:45:31 +02:00
i18n.ts v0.3.0: i18n system (locale × tone) with fallback chain 2026-04-21 22:12:18 +02:00
vite-config.ts #6: Use Vite's loadEnv() for VITE_BASE so .env.production actually wins 2026-04-25 21:36:23 +02:00