pianello-web-app/frontend/vite.config.ts
Alessio Davoli 3d613067a3
Some checks failed
ci/woodpecker/push/build Pipeline failed
Updates on splash screen
2023-12-12 17:27:12 +01:00

28 lines
489 B
TypeScript

import { sveltekit } from "@sveltejs/kit/vite";
import adapter from "@sveltejs/adapter-node";
const config = {
plugins: [
sveltekit(),
],
test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
},
build: {
minify: "esbuild",
target: "esnext",
},
kit: {
adapter: adapter({
precompress: false,
})
},
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
};
export default config;