DEV: Delete `uglify` asset codepath (#22346)
We no longer process any thrid-party assets with uglify
This commit is contained in:
parent
3290c954f9
commit
6b4762e450
|
@ -278,11 +278,7 @@ task "javascript:update" => "clean_up" do
|
|||
|
||||
STDERR.puts "New dependency added: #{dest}" unless File.exist?(dest)
|
||||
|
||||
if f[:uglify]
|
||||
File.write(dest, Uglifier.new.compile(File.read(src)))
|
||||
else
|
||||
FileUtils.cp_r(src, dest)
|
||||
end
|
||||
FileUtils.cp_r(src, dest)
|
||||
end
|
||||
|
||||
write_template("discourse/app/lib/public-js-versions.js", "update", <<~JS)
|
||||
|
|
Loading…
Reference in New Issue