Skip to content

Commit

Permalink
feat: update next export
Browse files Browse the repository at this point in the history
  • Loading branch information
SushiWaUmai committed Sep 8, 2023
1 parent c5e943f commit 01dff73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Install packages
run: pnpm install

- name: Build and export project
run: pnpm build && pnpm export
- name: Build project
run: pnpm build

- name: Add .nojekyll file
run: touch ./build/.nojekyll
Expand Down
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
module.exports = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH,
output: "export",
distDir: "build",
};
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "next export -o build"
"lint": "next lint"
},
"dependencies": {
"@headlessui/react": "^1.7.17",
Expand All @@ -29,4 +28,4 @@
"typescript": "5.2.2"
},
"license": "MIT"
}
}

0 comments on commit 01dff73

Please sign in to comment.