build: incorporate sveltekit/vite

This commit is contained in:
metonym 2021-09-01 12:26:28 -07:00
commit 0be42a4b66
10 changed files with 237 additions and 5211 deletions

18
svelte.config.js Normal file
View file

@ -0,0 +1,18 @@
import adapter from "@sveltejs/adapter-static";
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [],
kit: {
adapter: adapter(),
target: "#svelte",
files: {
assets: "app/static",
lib: "app/lib",
routes: "app/routes",
template: "app/app.html",
},
},
};
export default config;