Have uglifyjs spit out a sourcemap for leaflet.js too. (#5351)

* Have uglifyjs spit out a sourcemap for leaflet.js too.

Fixes #5341

* Fix incorrect source map file when publishing a release and add the new one too.
This commit is contained in:
Dave Leaver
2017-02-22 01:53:07 +13:00
committed by Iván Sánchez Ortega
parent 643ca522c1
commit bd957ad32f
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ npm run-script build
echo "Creating git tag v$VERSION..."
git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.map -f
git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.js.map dist/leaflet.js.map -f
git commit -m "v$VERSION"