Web UI setup
This commit is contained in:
parent
4f0d0a7e83
commit
b96af8349d
19 changed files with 6026 additions and 2 deletions
19
web/svelte.config.js
Normal file
19
web/svelte.config.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import adapter from "@sveltejs/adapter-static";
|
||||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://svelte.dev/docs/kit/integrations
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
fallback: "index.html",
|
||||
}),
|
||||
paths: {
|
||||
relative: process.env.MODE === "production",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue