From d810e973ed60effcb53daab381f402986efe9006 Mon Sep 17 00:00:00 2001 From: Godwin Kimani Date: Fri, 22 Dec 2023 15:32:31 +0300 Subject: [PATCH] build(deploy): change netlify configuration --- netlify.toml | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index c2cdd37..6e362dc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,3 @@ [build] command = "npm run build" -publish = ".next" -[[plugins]] -package = "@netlify/plugin-nextjs" \ No newline at end of file +publish = "out" \ No newline at end of file diff --git a/package.json b/package.json index e565a1d..cc14e23 100644 --- a/package.json +++ b/package.json @@ -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",