From 5cdfc64ccf439fb4d4e752b26741aa6e7bb19655 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Sun, 28 Apr 2019 15:35:10 -0400 Subject: [PATCH] Set PUBLIC_URL to demo --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 25ca3a2e1..2636da7ad 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "browser": "dist/index.umd.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", - "homepage": "http://localhost:8080", "engines": { "node": ">=8", "npm": ">=5" @@ -19,7 +18,7 @@ "dev": "yarn run preBuild && cross-env PORT=5000 react-scripts start", "dev:debug": "cross-env PORT=5000 react-scripts start", "build:package": "yarn run preBuild && node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c", - "build:web": "yarn run preBuild && react-scripts build", + "build:web": "yarn run preBuild && cross-env PUBLIC_URL=/demo react-scripts build", "lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}", "test": "jest", "test:ci": "jest --ci --runInBand --collectCoverage --reporters=default --reporters=jest-junit && codecov",