18 lines
390 B
JavaScript
18 lines
390 B
JavaScript
import withPWAInit from "@ducanh2912/next-pwa";
|
|
|
|
const withPWA = withPWAInit({
|
|
dest: "public",
|
|
disable: process.env.NODE_ENV === "development",
|
|
register: true,
|
|
skipWaiting: true,
|
|
});
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Enable React Strict Mode (default)
|
|
reactStrictMode: true,
|
|
turbopack: {},
|
|
};
|
|
|
|
export default withPWA(nextConfig);
|