From c9166e3094dfa3e54a4835a265c8aa8e94fac170 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 22 Jun 2020 20:08:11 -0700 Subject: Homepage for release build --- modern/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modern/package.json b/modern/package.json index 2c88c5fe..d06ac59c 100644 --- a/modern/package.json +++ b/modern/package.json @@ -2,7 +2,6 @@ "name": "traccar", "version": "0.1.0", "private": true, - "homepage": "/modern/", "dependencies": { "@craco/craco": "^5.6.4", "@material-ui/core": "^4.9.7", @@ -23,6 +22,7 @@ "scripts": { "start": "craco start", "build": "craco build", + "build_release": "PUBLIC_URL=/modern/ craco build", "test": "craco test" }, "browserslist": { -- cgit v1.2.3