Alessio Davoli
444c64b55c
All checks were successful
ci/woodpecker/push/build Pipeline was successful
21 lines
442 B
TypeScript
21 lines
442 B
TypeScript
import { sveltekit } from "@sveltejs/kit/vite";
|
|
import adapter from "@sveltejs/adapter-node";
|
|
import { VitePWA } from 'vite-plugin-pwa';
|
|
|
|
const config = {
|
|
plugins: [sveltekit(), VitePWA({ registerType: 'autoUpdate' })],
|
|
test: {
|
|
include: ["src/**/*.{test,spec}.{js,ts}"],
|
|
},
|
|
build: {
|
|
minify: "esbuild",
|
|
target: "esnext",
|
|
},
|
|
kit: {
|
|
adapter: adapter({
|
|
precompress: false,
|
|
})
|
|
},
|
|
};
|
|
|
|
export default config;
|