mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-13 06:16:16 +00:00
feat: improvements
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user