2023-07-10 18:37:41 +02:00
|
|
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
|
|
import adapter from "@sveltejs/adapter-node";
|
2023-07-10 17:44:06 +02:00
|
|
|
|
2023-07-10 18:37:41 +02:00
|
|
|
const config = {
|
|
|
|
plugins: [sveltekit()],
|
|
|
|
test: {
|
|
|
|
include: ["src/**/*.{test,spec}.{js,ts}"],
|
|
|
|
},
|
|
|
|
build: {
|
|
|
|
minify: "esbuild",
|
|
|
|
target: "esnext",
|
|
|
|
},
|
|
|
|
kit: {
|
|
|
|
adapter: adapter({
|
|
|
|
precompress: false,
|
|
|
|
})
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|