init next-pwa

This commit is contained in:
2025-08-14 15:38:33 -04:00
parent 7c947e58c6
commit 92e4524268
6 changed files with 659 additions and 3 deletions

View File

@@ -1,7 +1,19 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
const withPWA = require("next-pwa")({
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
});
// const nextConfig: NextConfig = {
// /* config options here */
// };
const nextConfig: NextConfig = withPWA({
/* config options here */
reactStrictMode: true,
});
export default nextConfig;