diff --git a/web/package.json b/web/package.json index 04310ee..34b56d9 100644 --- a/web/package.json +++ b/web/package.json @@ -50,7 +50,7 @@ "copy:manifest": "mv build/audit/manifest.json build", "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "yarn copy:static && DANGEROUSLY_DISABLE_HOST_CHECK=true DISABLE_ESLINT_PLUGIN=true react-scripts start", - "build": "yarn copy:static && INLINE_RUNTIME_CHUNK=false IMAGE_INLINE_SIZE_LIMIT=0 DISABLE_ESLINT_PLUGIN=true react-scripts build && shx cp -r build/static/* build && shx rm -rf build/static", + "build": "yarn copy:static && BUILD_PATH=./build/audit PUBLIC_URL=/audit INLINE_RUNTIME_CHUNK=false DISABLE_ESLINT_PLUGIN=true IMAGE_INLINE_SIZE_LIMIT=0 react-scripts build && shx cp -r build/audit/static/* build/audit && shx rm -rf build/audit/static && yarn copy:root-index && yarn copy:images && yarn copy:manifest", "test": "react-scripts test", "eject": "react-scripts eject", "lint": "eslint src --max-warnings 0",