Actions
Bug #21857
closeduglifier 4.x fails to precompile assets
Difficulty:
Triaged:
Description
[...] 10:50:09 I, [2017-12-04T10:50:09.317696 #3386] INFO -- : Writing /var/lib/workspace/workspace/packaging_build_deb_coreproject/arch/x86/label/debian/os/stretch/debian/stretch/build-foreman/foreman-1.17.0/public/assets/compute_resources/vmware/nic_info-0c13e72d49157c9e5a2df17cbf5ef2d5c69df57463c106ae0c513c7f3709c553.js 10:50:09 I, [2017-12-04T10:50:09.318479 #3386] INFO -- : Writing /var/lib/workspace/workspace/packaging_build_deb_coreproject/arch/x86/label/debian/os/stretch/debian/stretch/build-foreman/foreman-1.17.0/public/assets/compute_resources/vmware/nic_info-0c13e72d49157c9e5a2df17cbf5ef2d5c69df57463c106ae0c513c7f3709c553.js.gz 10:50:09 rake aborted! 10:50:09 Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true). 10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:237:in `parse_result' 10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:219:in `run_uglifyjs' 10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:169:in `compile' [...]
Actions