add: agnostic web compliant adapter

This commit is contained in:
2026-04-03 13:48:50 +05:30
parent 8a90b9356b
commit 54aae56734
41 changed files with 1534 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
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";
import tailwindcss from '@tailwindcss/vite'
export default defineConfig((): UserConfig => {
return {
plugins: [
tailwindcss(),
qwikCity({
trailingSlash: false
}),
qwikVite(),
tsconfigPaths({ root: "." }),
],
server: {
headers: {
"Cache-Control": "public, max-age=0",
},
},
preview: {
headers: {
"Cache-Control": "public, max-age=600",
},
},
};
});