refactor: use standard prettier formatting

This commit is contained in:
2024-04-06 13:15:35 +02:00
parent 86ec8651b6
commit 854ab6d3be
106 changed files with 2703 additions and 2046 deletions

View File

@@ -1,20 +1,25 @@
import adapter from "@sveltejs/adapter-static"
import preprocess from "svelte-preprocess"
import autoprefixer from "autoprefixer"
import {readFile} from "fs/promises"
import {fileURLToPath} from "url"
import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import autoprefixer from "autoprefixer";
import { readFile } from "fs/promises";
import { fileURLToPath } from "url";
const {version} = JSON.parse(await readFile(fileURLToPath(new URL("package.json", import.meta.url)), "utf8"))
const { version } = JSON.parse(
await readFile(
fileURLToPath(new URL("package.json", import.meta.url)),
"utf8",
),
);
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [preprocess({postcss: {plugins: autoprefixer()}})],
preprocess: [preprocess({ postcss: { plugins: autoprefixer() } })],
kit: {
adapter: adapter({fallback: "404.html"}),
adapter: adapter({ fallback: "404.html" }),
version: {
name: version,
},
},
}
};
export default config
export default config;