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",