Update build/npm-post-build.sh

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
pull/45832/head
Joas Schilling 2 years ago committed by GitHub
parent f069b30e27
commit bcbef7aaa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      build/npm-post-build.sh

@ -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"

Loading…
Cancel
Save