Another step to get tests running

This commit is contained in:
Pieter Vander Vennet 2023-02-08 02:47:32 +01:00
parent 071e5bf03a
commit f9f1a30921
6 changed files with 975 additions and 227 deletions

View file

@ -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,
},