From cd85d681b7d63d0da667dc6c3e5f75c49cacb0d3 Mon Sep 17 00:00:00 2001 From: BenoitRanque Date: Sun, 22 Dec 2019 06:24:27 -0400 Subject: [PATCH] Corrected example: Changed next build to next export (#200) * Changed next build to next export Propper comand to export a static site is next export. See [here](https://nextjs.org/docs#usage) * Corrected build command per suggestion Both next build && next export are needed Co-Authored-By: Jacob Bolda Co-authored-by: Jacob Bolda --- examples/react/next.js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/next.js/package.json b/examples/react/next.js/package.json index 1409916f3..94f3489f0 100644 --- a/examples/react/next.js/package.json +++ b/examples/react/next.js/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && next export", "start": "next start", "tauri:prod": "tauri", "tauri:source": "node ../../../cli/tauri.js/bin/tauri",