Skip to content

Commit

Permalink
fix ssg build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Nov 1, 2023
1 parent 2364186 commit 29908d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/ssg/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// const { i18n } = require('./next-i18next.config')

module.exports = {
output: 'export',
// i18n,
trailingSlash: true,
}
2 changes: 1 addition & 1 deletion examples/ssg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"404": "cp out/404/index.html out/404.html",
"dev": "next dev",
"build": "next build && next export",
"build": "next build",
"postbuild": "npm run 404",
"server": "next start",
"start": "npm run dev",
Expand Down

0 comments on commit 29908d8

Please sign in to comment.