pianello-web-app/frontend/vite.config.ts
Alessio Davoli db5a8cf9e4
Some checks failed
ci/woodpecker/push/build Pipeline failed
Adapt vite build
2023-07-10 18:37:41 +02:00

20 lines
358 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,
})
},
};
export default config;