mirror of
https://github.com/songquanpeng/one-api.git
synced 2026-02-04 05:05:57 +08:00
feat: allow baseUrl
This commit is contained in:
@@ -8,6 +8,7 @@ while IFS= read -r theme; do
|
||||
rm -r build/$theme
|
||||
cd "$theme"
|
||||
npm install
|
||||
jq ".homepage=\"${REACT_APP_BASE_URL}\"" package.json > tmp.json && mv tmp.json package.json ;
|
||||
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build
|
||||
cd ..
|
||||
done < THEMES
|
||||
|
||||
Reference in New Issue
Block a user