From 3827b17b1cf1c5f592eaf479f1211817d79b49bb Mon Sep 17 00:00:00 2001 From: Florian Pagnoux Date: Mon, 28 Mar 2022 18:38:11 -0400 Subject: [PATCH] Allow building on a subpath --- package.json | 1 + public/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 00482f0..20bb494 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", + "build-next": "PUBLIC_URL=\"/next/\" react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/public/index.html b/public/index.html index a3cdc46..1fb36ef 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,7 @@ +