Loading debian/control +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ Build-Depends: pigz, rename, node-uglify (>= 2), webpack, webpack (>= 4~), Standards-Version: 4.3.0 Homepage: https://github.com/mapbox/leaflet-image Vcs-Browser: https://salsa.debian.org/js-team/leaflet-image Loading debian/libjs-leaflet-image.install +1 −1 Original line number Diff line number Diff line debian/js/* leaflet-image.js /usr/share/javascript/leaflet debian/js/* dist/leaflet-image.js /usr/share/javascript/leaflet debian/rules +8 −2 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ endif debian/js/%.min.js: %.js mkdir --parents debian/js uglifyjs --compress --mangle \ --in-source-map $<.map \ --in-source-map dist/$<.map \ --source-map $@.map \ --output $@ -- $< --output $@ -- dist/$< # pre-compress for browser use %.gz: % Loading @@ -38,10 +38,16 @@ override_dh_auto_build: $(DOCS) \ $(STEM).js: index.js webpack --config debian/webpack.config.js \ --mode development \ --output-library leaflet-image \ --output-filename $@ -- $< override_dh_installdocs: dh_installdocs --all -- $(DOCS) override_dh_auto_clean: rm -rf node_modules/.cache \ dist README.html README.txt dh_auto_clean .SECONDARY: Loading
debian/control +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ Build-Depends: pigz, rename, node-uglify (>= 2), webpack, webpack (>= 4~), Standards-Version: 4.3.0 Homepage: https://github.com/mapbox/leaflet-image Vcs-Browser: https://salsa.debian.org/js-team/leaflet-image Loading
debian/libjs-leaflet-image.install +1 −1 Original line number Diff line number Diff line debian/js/* leaflet-image.js /usr/share/javascript/leaflet debian/js/* dist/leaflet-image.js /usr/share/javascript/leaflet
debian/rules +8 −2 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ endif debian/js/%.min.js: %.js mkdir --parents debian/js uglifyjs --compress --mangle \ --in-source-map $<.map \ --in-source-map dist/$<.map \ --source-map $@.map \ --output $@ -- $< --output $@ -- dist/$< # pre-compress for browser use %.gz: % Loading @@ -38,10 +38,16 @@ override_dh_auto_build: $(DOCS) \ $(STEM).js: index.js webpack --config debian/webpack.config.js \ --mode development \ --output-library leaflet-image \ --output-filename $@ -- $< override_dh_installdocs: dh_installdocs --all -- $(DOCS) override_dh_auto_clean: rm -rf node_modules/.cache \ dist README.html README.txt dh_auto_clean .SECONDARY: