mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-03 08:32:52 +00:00
refactor: use standard prettier formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user