Files
local-cal/next.config.ts
Dmytro Stanchiev d7c66691a1 improve dockerfile
- multi-stage build
- standalone output
- layer caching
- production dependencies
2025-08-16 08:51:26 -04:00

25 lines
491 B
TypeScript

import type { NextConfig } from "next";
const withPWA = require("next-pwa")({
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
});
// const nextConfig: NextConfig = {
// /* config options here */
// reactStrictMode: true,
// };
const nextConfig: NextConfig = withPWA({
/* config options here */
reactStrictMode: true,
output: "standalone",
images: {
formats: ["image/webp", "image/avif"],
},
});
export default nextConfig;