Skip to content

Commit e5c7674

Browse files
committed
ci: update next config
1 parent ae6c2aa commit e5c7674

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

next.config.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import type { NextConfig } from "next";
2-
3-
const nextConfig: NextConfig = {
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
43
output: 'export',
54
images: {
65
unoptimized: true,
76
},
8-
};
7+
basePath: '',
8+
trailingSlash: true,
9+
}
910

10-
export default nextConfig;
11+
module.exports = nextConfig

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"dev": "next dev --turbopack",
88
"build": "next build",
99
"start": "next start",
10-
"lint": "next lint"
10+
"lint": "next lint",
11+
"export": "next build && next export",
12+
"deploy": "npm run build && touch out/.nojekyll"
1113
},
1214
"dependencies": {
1315
"class-variance-authority": "^0.7.0",

0 commit comments

Comments
 (0)