fix: update configuration for output type and add base path in next.config.ts, plus deploy script in package.json for pushing to gh pages
This commit is contained in:
@@ -14,7 +14,8 @@ const nextConfig = {
|
||||
],
|
||||
},
|
||||
|
||||
output: "standalone",
|
||||
output: "export",
|
||||
basePath: "/proxmox-helper-scripts",
|
||||
|
||||
async rewrites() {
|
||||
return [
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"deploy": "next build && touch out/.nojekyll && git add out/ && git commit -m \"Deploy\" && git subtree push --prefix out origin gh-pages",
|
||||
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
|
||||
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
||||
Reference in New Issue
Block a user