web-humas-fe/next.config.js

27 lines
484 B
JavaScript
Raw Normal View History

2025-04-16 08:51:12 +00:00
// next.config.js
const withPWA = require("next-pwa")({
dest: "public",
register: true,
skipWaiting: true,
// disable: process.env.NODE_ENV === "development", // disable PWA di mode dev
});
2024-01-05 06:57:30 +00:00
/** @type {import('next').NextConfig} */
2024-03-08 03:28:18 +00:00
const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
2025-03-14 08:45:40 +00:00
experimental: {
serverActions: true,
},
images: {
remotePatterns: [
{
hostname: "*",
},
],
},
};
2024-01-05 06:57:30 +00:00
2025-04-16 08:51:12 +00:00
module.exports = withPWA(nextConfig);