Feat: better way to remove frontend map files

pull/1380/head
AHdark 3 years ago committed by GitHub
parent 25d56fad6e
commit 98c7c1ae0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,13 +24,13 @@ buildAssets() {
rm -rf assets/build
export CI=false
export GENERATE_SOURCEMAP=false
cd $REPO/assets
yarn install
yarn run build
cd build
find . -name "*.map" -type f -delete
cd $REPO
zip -r - assets/build >assets.zip
}

Loading…
Cancel
Save