22 lines
425 B
TypeScript
22 lines
425 B
TypeScript
import type { NextConfig } from "next";
|
|
import withPWAInit from "@ducanh2912/next-pwa";
|
|
|
|
const withPWA = withPWAInit({
|
|
dest: "public",
|
|
disable: process.env.NODE_ENV === "development",
|
|
register: true,
|
|
skipWaiting: true,
|
|
});
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: "8mb",
|
|
},
|
|
},
|
|
turbopack: {},
|
|
};
|
|
|
|
export default withPWA(nextConfig);
|