Update build/npm-post-build.sh

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
pull/45832/head
Joas Schilling 2024-06-14 08:53:02 +07:00 committed by GitHub
parent f069b30e27
commit bcbef7aaa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -13,7 +13,7 @@ npm run sass:icons
# Add licenses for source maps
if [ -d "dist" ]; then
for f in dist/*.js; do
# If license file and source map exists copy license for the sourcemap
# If license file and source map exists copy license for the source map
if [ -f "$f.license" ] && [ -f "$f.map" ]; then
# Remove existing link
[ -e "$f.map.license" ] || [ -L "$f.map.license" ] && rm "$f.map.license"