Skip to content

Commit e895da7

Browse files
committed
fix(nextra): fully static output
1 parent 34db636 commit e895da7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

next.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import './src/libs/Env';
55

66
// Define the base Next.js configuration
77
const baseConfig: NextConfig = {
8+
output: 'export',
9+
images: {
10+
unoptimized: true,
11+
},
812
devIndicators: {
913
position: 'bottom-right',
1014
},

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
"scripts": {
33
"check:types": "tsc --noEmit --pretty",
44
"check:deps": "knip",
5-
"check:i18n": "i18n-check -l src/locales -s en -u src -f next-intl",
65
"dev": "next",
76
"build": "next build",
87
"start": "next start",
98
"lint": "eslint .",
109
"lint:fix": "eslint . --fix",
11-
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind"
10+
"postbuild": "pagefind --site .next/server/app --output-path out/_pagefind"
1211
},
1312
"dependencies": {
1413
"@commitlint/cli": "^20.3.0",

0 commit comments

Comments
 (0)