First commit

This commit is contained in:
2026-03-16 23:54:36 +01:00 Verified
commit be129af1d9
53 changed files with 49704 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
// next.config.ts
import type { NextConfig } from "next";
import withSerwistInit from "@serwist/next";
const manualRevision = "v1.0.0";
const withSerwist = withSerwistInit({
swSrc: "app/sw.ts",
swDest: "public/sw.js",
disable: process.env.NODE_ENV === "development",
cacheOnNavigation: true,
additionalPrecacheEntries: [
{ url: "/", revision: manualRevision },
{ url: "/emergency", revision: manualRevision },
{ url: "/faq", revision: manualRevision },
],
});
const nextConfig: NextConfig = {
output: "standalone",
};
export default withSerwist(nextConfig);