Codebase list leaflet / bd957ad
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. Dave Leaver authored 7 years ago Iván Sánchez Ortega committed 7 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1717
1818 echo "Creating git tag v$VERSION..."
1919
20 git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.map -f
20 git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.js.map dist/leaflet.js.map -f
2121
2222 git commit -m "v$VERSION"
2323
3838 "lintfix": "eslint src --fix; eslint spec/suites --fix; ",
3939 "rollup": "rollup -c build/rollup-config.js",
4040 "watch": "rollup -w -c build/rollup-watch-config.js",
41 "uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js"
41 "uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js --source-map dist/leaflet.js.map --in-source-map dist/leaflet-src.js.map --source-map-url leaflet.js.map"
4242 },
4343 "eslintConfig": {
4444 "root": true,