kenny commited on
Commit
e91394f
·
1 Parent(s): a2b51e3

Add static export

Browse files
Files changed (2) hide show
  1. next.config.js +9 -1
  2. next.config.ts +1 -1
next.config.js CHANGED
@@ -1 +1,9 @@
1
-
 
 
 
 
 
 
 
 
 
1
+ /** @type {import('next').NextConfig} */
2
+ const nextConfig = {
3
+ output: "export",
4
+ images: {
5
+ unoptimized: true,
6
+ },
7
+ };
8
+
9
+ module.exports = nextConfig;
next.config.ts CHANGED
@@ -1,7 +1,7 @@
1
  import type { NextConfig } from "next";
2
 
3
  const nextConfig: NextConfig = {
4
- /* config options here */
5
  };
6
 
7
  export default nextConfig;
 
1
  import type { NextConfig } from "next";
2
 
3
  const nextConfig: NextConfig = {
4
+ output: 'export'
5
  };
6
 
7
  export default nextConfig;