20 lines
385 B
TypeScript
20 lines
385 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 */
|
|
// };
|
|
|
|
const nextConfig: NextConfig = withPWA({
|
|
/* config options here */
|
|
reactStrictMode: true,
|
|
});
|
|
|
|
export default nextConfig;
|