Skip to content

Commit

Permalink
build(deploy): change netlify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
josephgodwinkimani committed Dec 22, 2023
1 parent 90ae344 commit d810e97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[build]
command = "npm run build"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs"
publish = "out"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"prepare": "husky install",
"dev": "next dev --port 3001",
"build": "next build",
"build": "next build && next export",
"build:desktop": "npm run tauri build",
"postbuild": "next-sitemap",
"start": "next start",
Expand Down

0 comments on commit d810e97

Please sign in to comment.