mirror of
https://github.com/Lissy93/personal-security-checklist.git
synced 2024-10-01 01:35:37 -04:00
21 lines
527 B
TypeScript
21 lines
527 B
TypeScript
|
import { defineConfig, type UserConfig } from "vite";
|
||
|
import { qwikVite } from "@builder.io/qwik/optimizer";
|
||
|
import { qwikCity } from "@builder.io/qwik-city/vite";
|
||
|
import tsconfigPaths from "vite-tsconfig-paths";
|
||
|
|
||
|
export default defineConfig((): UserConfig => {
|
||
|
return {
|
||
|
plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
|
||
|
server: {
|
||
|
headers: {
|
||
|
"Cache-Control": "public, max-age=0",
|
||
|
},
|
||
|
},
|
||
|
preview: {
|
||
|
headers: {
|
||
|
"Cache-Control": "public, max-age=600",
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
});
|