2026-04-21 22:20:39 +06:00
|
|
|
import type { NextConfig } from "next";
|
2026-05-06 16:38:57 +06:00
|
|
|
import withPWAInit from "@ducanh2912/next-pwa";
|
|
|
|
|
|
|
|
|
|
const withPWA = withPWAInit({
|
|
|
|
|
dest: "public",
|
2026-05-06 18:03:53 +06:00
|
|
|
disable: false,
|
2026-05-06 16:38:57 +06:00
|
|
|
register: true,
|
2026-05-06 18:03:53 +06:00
|
|
|
} as any);
|
2026-04-21 22:20:39 +06:00
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2026-05-16 10:20:12 +06:00
|
|
|
output: 'standalone',
|
2026-04-22 01:02:45 +06:00
|
|
|
images: {
|
|
|
|
|
remotePatterns: [
|
|
|
|
|
{
|
|
|
|
|
protocol: 'https',
|
|
|
|
|
hostname: 'images.unsplash.com',
|
|
|
|
|
pathname: '/**',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2026-05-06 18:03:53 +06:00
|
|
|
turbopack: {},
|
2026-04-21 22:20:39 +06:00
|
|
|
};
|
|
|
|
|
|
2026-05-06 16:38:57 +06:00
|
|
|
export default withPWA(nextConfig);
|