wycats / rake-pipeline-web-filters

MIT License
116 stars 34 forks source link

Uglify filter forgets to insert ";" at the end of the file #24

Closed ppcano closed 12 years ago

ppcano commented 12 years ago

I use the filter shown below to fix the problems, copied from the following gist

class FixUglifyFilter < Rake::Pipeline::Filter
  def generate_output(inputs, output)
    inputs.each do |input|
      output.write input.read + ";"
    end
  end
end
dudleyf commented 12 years ago

This was reported in issue #12. It's a bug in the uglifier gem that was fixed in the latest release.