out
This commit is contained in:
parent
3fa11b543d
commit
e7654fb4d0
@ -1,7 +1,11 @@
|
|||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig = {
|
||||||
/* config options here */
|
output: 'export', // <-- Ini yang mengubah web menjadi HTML statis
|
||||||
|
images: {
|
||||||
|
unoptimized: true, // <-- Wajib ditambahkan agar gambar tidak error saat diexport
|
||||||
|
},
|
||||||
|
// ... (biarkan konfigurasi lain jika ada)
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user