From b413a4de818258d83e7f381ad64c3a8764e3a431 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Sun, 7 Jan 2024 01:42:08 -0600 Subject: [PATCH] debuggin build success but now routing --- netlify.toml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..42560c2 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,3 @@ +[build] +command = "npm run build && npm run export" +publish = "out" diff --git a/package.json b/package.json index b923b3b..651049f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "dev": "rm -rf graph-data.json && next dev ", "build": "rm -rf graph-data.json && next build", - "start": "next start" + "start": "next start", + "export": "next export" }, "dependencies": { "@emotion/cache": "latest",