feat: configure static export for Cloudflare Pages
Set output: 'export' and distDir: 'out' for static site build. #VERCEL_SKIP Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
parent
4b4fcc6867
commit
f74bedd730
|
|
@ -24,4 +24,4 @@ yarn-error.log*
|
||||||
|
|
||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
next-env.d.ts
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,4 @@ Continue building your app on:
|
||||||
1. Create and modify your project using [v0.app](https://v0.app)
|
1. Create and modify your project using [v0.app](https://v0.app)
|
||||||
2. Deploy your chats from the v0 interface
|
2. Deploy your chats from the v0 interface
|
||||||
3. Changes are automatically pushed to this repository
|
3. Changes are automatically pushed to this repository
|
||||||
4. Vercel deploys the latest version from this repository
|
4. Vercel deploys the latest version from this repository
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
output: 'export',
|
||||||
|
distDir: 'out',
|
||||||
eslint: {
|
eslint: {
|
||||||
ignoreDuringBuilds: true,
|
ignoreDuringBuilds: true,
|
||||||
},
|
},
|
||||||
|
|
@ -11,4 +13,4 @@ const nextConfig = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export default nextConfig
|
export default nextConfig
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
"@radix-ui/react-select": "2.1.4",
|
"@radix-ui/react-select": "2.1.4",
|
||||||
"@radix-ui/react-separator": "1.1.1",
|
"@radix-ui/react-separator": "1.1.1",
|
||||||
"@radix-ui/react-slider": "1.2.2",
|
"@radix-ui/react-slider": "1.2.2",
|
||||||
"@radix-ui/react-slot": "1.1.1",
|
"@radix-ui/react-slot": "latest",
|
||||||
"@radix-ui/react-switch": "1.1.2",
|
"@radix-ui/react-switch": "1.1.2",
|
||||||
"@radix-ui/react-tabs": "1.1.2",
|
"@radix-ui/react-tabs": "1.1.2",
|
||||||
"@radix-ui/react-toast": "1.2.4",
|
"@radix-ui/react-toast": "1.2.4",
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
"input-otp": "1.4.1",
|
"input-otp": "1.4.1",
|
||||||
"lucide-react": "^0.454.0",
|
"lucide-react": "^0.454.0",
|
||||||
"next": "16.0.0",
|
"next": "16.0.0",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "latest",
|
||||||
"react": "19.2.0",
|
"react": "19.2.0",
|
||||||
"react-day-picker": "9.8.0",
|
"react-day-picker": "9.8.0",
|
||||||
"react-dom": "19.2.0",
|
"react-dom": "19.2.0",
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ importers:
|
||||||
specifier: 1.2.2
|
specifier: 1.2.2
|
||||||
version: 1.2.2(@types/react-dom@19.0.0)(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
version: 1.2.2(@types/react-dom@19.0.0)(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||||
'@radix-ui/react-slot':
|
'@radix-ui/react-slot':
|
||||||
specifier: 1.1.1
|
specifier: latest
|
||||||
version: 1.1.1(@types/react@19.0.0)(react@19.2.0)
|
version: 1.2.4(@types/react@19.0.0)(react@19.2.0)
|
||||||
'@radix-ui/react-switch':
|
'@radix-ui/react-switch':
|
||||||
specifier: 1.1.2
|
specifier: 1.1.2
|
||||||
version: 1.1.2(@types/react-dom@19.0.0)(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
version: 1.1.2(@types/react-dom@19.0.0)(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||||
|
|
@ -123,7 +123,7 @@ importers:
|
||||||
specifier: 16.0.0
|
specifier: 16.0.0
|
||||||
version: 16.0.0(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
version: 16.0.0(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||||
next-themes:
|
next-themes:
|
||||||
specifier: ^0.4.6
|
specifier: latest
|
||||||
version: 0.4.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
version: 0.4.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||||
react:
|
react:
|
||||||
specifier: 19.2.0
|
specifier: 19.2.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue