Commit c71a1b47 authored by Romain Casati's avatar Romain Casati

Fix: uglifyjs should not fail silently.

parent 893188cc
Pipeline #385292 failed with stage
in 3 minutes and 8 seconds
......@@ -12,7 +12,7 @@ minify: $(MINIFIED)
# this is a workaround for the buggy sources= parameter in map file
# produced by uglifyjs.terser
%.min.js: %.js
cd $(dir $<) ; uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) ; cd -
cd $(dir $<) && uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) && cd -
extern/emscripten:
git clone --depth 1 https://github.com/emscripten-core/emsdk.git
......
......@@ -7,7 +7,7 @@ minify: $(MINIFIED)
# this is a workaround for the buggy sources= parameter in map file
# produced by uglifyjs.terser
%.min.js: %.js
cd $(dir $<) ; uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) ; cd -
cd $(dir $<) && uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) && cd -
clean:
rm -rf *.egg-info/ build/ dist/ $(MINIFIED)
......
......@@ -7,7 +7,7 @@ minify: $(MINIFIED)
# this is a workaround for the buggy sources= parameter in map file
# produced by uglifyjs.terser
%.min.js: %.js
cd $(dir $<) ; uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) ; cd -
cd $(dir $<) && uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) && cd -
clean:
rm -rf *.egg-info/ build/ dist/ $(MINIFIED)
......
......@@ -7,7 +7,7 @@ minify: $(MINIFIED)
# this is a workaround for the buggy sources= parameter in map file
# produced by uglifyjs.terser
%.min.js: %.js
cd $(dir $<) ; uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) ; cd -
cd $(dir $<) && uglifyjs.terser $(notdir $<) --source-map url=$(notdir $@).map --compress --mangle --output $(notdir $@) && cd -
clean:
rm -rf *.egg-info/ build/ dist/ $(MINIFIED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment