forked from MapComplete/MapComplete
Another step to get tests running
This commit is contained in:
parent
071e5bf03a
commit
f9f1a30921
6 changed files with 975 additions and 227 deletions
|
@ -1,5 +1,6 @@
|
|||
import { defineConfig } from "vite"
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte"
|
||||
import autoPreprocess, { scss } from "svelte-preprocess";
|
||||
import fs from "fs"
|
||||
|
||||
const allHtmlFiles = fs.readdirSync(".").filter((f) => f.endsWith(".html"))
|
||||
|
@ -18,7 +19,7 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
base: `${ASSET_URL}`,
|
||||
plugins: [svelte()],
|
||||
plugins: [svelte({preprocess: [scss() , autoPreprocess()]})],
|
||||
server: {
|
||||
port: 1234,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue