feat: improvements

This commit is contained in:
2024-07-08 18:43:06 +02:00
parent 21e8c291b0
commit 65a5a2517e
53 changed files with 7591 additions and 11877 deletions

View File

@@ -1,5 +1,5 @@
import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import { sveltePreprocess } from "svelte-preprocess";
import autoprefixer from "autoprefixer";
import { readFile } from "fs/promises";
import { fileURLToPath } from "url";
@@ -13,9 +13,12 @@ const { version } = JSON.parse(
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [preprocess({ postcss: { plugins: autoprefixer() } })],
preprocess: [sveltePreprocess({ postcss: { plugins: autoprefixer() } })],
kit: {
adapter: adapter({ fallback: "404.html" }),
alias: {
$i18n: "./src/i18n",
},
version: {
name: version,
},