2024-08-07 08:30:08 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-08-08 08:50:52 +00:00
|
|
|
const nextConfig = {
|
2024-08-14 10:04:10 +00:00
|
|
|
reactStrictMode: false,
|
2024-08-08 08:50:52 +00:00
|
|
|
output: 'export',
|
|
|
|
images: {
|
|
|
|
loader: "custom",
|
|
|
|
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
|
|
|
|
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
|
|
|
|
// remotePatterns: [
|
|
|
|
// {
|
|
|
|
// protocol: 'https',
|
|
|
|
// hostname: 'sam-kalteng-api.basys.co.id',
|
|
|
|
// port: '',
|
|
|
|
// pathname: '/images/**',
|
|
|
|
// },
|
|
|
|
// ],
|
|
|
|
},
|
|
|
|
transpilePackages: ["next-image-export-optimizer"],
|
|
|
|
env: {
|
|
|
|
nextImageExportOptimizer_imageFolderPath: "public",
|
|
|
|
nextImageExportOptimizer_exportFolderPath: "out",
|
|
|
|
nextImageExportOptimizer_quality: "75",
|
|
|
|
nextImageExportOptimizer_storePicturesInWEBP: "true",
|
|
|
|
nextImageExportOptimizer_exportFolderName: "nextImageExportOptimizer",
|
|
|
|
nextImageExportOptimizer_generateAndUseBlurImages: "true",
|
|
|
|
nextImageExportOptimizer_remoteImageCacheTTL: "0",
|
|
|
|
},
|
|
|
|
};
|
2024-08-07 08:30:08 +00:00
|
|
|
|
|
|
|
export default nextConfig;
|