Skip to content

Commit f8e7e20

Browse files
committed
static export update
1 parent c6f4a0e commit f8e7e20

5 files changed

Lines changed: 6 additions & 122 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# next.js
1717
/.next/
1818
/out/
19+
/dist/
1920

2021
# production
2122
/build

next.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ const nextConfig = {
1616
// Configure `pageExtensions` to include markdown and MDX files
1717
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
1818
output: "export",
19+
distDir: ".dist",
20+
images: {
21+
unoptimized: true, // Disable image optimization for static export
22+
},
23+
// Enable React strict mode
1924
reactStrictMode: true,
2025
};
2126

src/app/manifest.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/app/robots.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/app/sitemap.ts

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)