We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ bin/bam Uglifier version 4.1.11 #<NoMethodError: undefined method `start_with?' for nil:NilClass> fail :( $ cat bin/bam #!/usr/bin/env ruby require 'uglifier' puts "Uglifier version #{Uglifier::VERSION}" uglifier = Uglifier.new(harmony: true) begin uglifier.compile(<<~EOSCRIPT) function bam(sam) { sam = Object.assign({}, {error: 'wat'}); const { error } = sam; } EOSCRIPT puts 'ok' rescue => e puts e.inspect puts 'fail :(' end
Thanks.
The text was updated successfully, but these errors were encountered:
harmony support is experimental and there're old bugs
try https://github.com/ahorek/terser-ruby
Terser version 1.1.1 function bam(r){r=Object.assign({},{error:"wat"});const{error:n}=r} ok
Sorry, something went wrong.
No branches or pull requests
Thanks.
The text was updated successfully, but these errors were encountered: