Skip to content

Commit 0644fd6

Browse files
committed
fix: switch to static HTML export for Netlify compatibility
Signed-off-by: Jessie Ssebuliba <jessiessebuliba@gmail.com>
1 parent 4f88f5f commit 0644fd6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build]
22
command = "pnpm build"
3+
publish = "out"
34

45
[build.environment]
56
NODE_VERSION = "20"

next.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4+
output: "export",
5+
images: {
6+
unoptimized: true,
7+
},
48
};
59

610
export default nextConfig;

0 commit comments

Comments
 (0)