feat!: sveltekit 3 with the official bun adapter, config lives in vite.config; biome unpinned at 2.5.15, anchor content check off for svelte; bun image pinned to the 1 tag

This commit is contained in:
hh committed 2026-10-10 22:39:07 +00:00
1 parent 5cee5f99e9
commit 6c9d5063b9
11 files changed
+89 -85

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import { defineEnvVars } from "@sveltejs/kit/env";
export const variables = defineEnvVars({
PUBLIC_API_BASE_URL: { public: true, schema: (input) => input ?? "/api" },
});
@@ -1,6 +1,6 @@
import { env } from "$env/dynamic/public";
import { PUBLIC_API_BASE_URL } from "$app/env/public";
const BASE = env.PUBLIC_API_BASE_URL ?? "/api";
const BASE = PUBLIC_API_BASE_URL;
export class ApiError extends Error {
status: number;
@@ -1,3 +1,3 @@
// place files you want to import through the `$lib` alias in this folder.
// place files you want to import through the `#lib` alias in this folder.
{% if linter == 'biome' %}// biome-ignore-all lint/suspicious/noEmptySource: temporary
{% endif %}