mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 18:42:34 +08:00
FIX: Production asset compilation following c62a4a47 (#32491)
The bypass_sprockets_uglify was removed in that commit
This commit is contained in:
@ -169,7 +169,6 @@ def log_task_duration(task_description, &task)
|
||||
end
|
||||
|
||||
task "assets:precompile:compress_js": "environment" do
|
||||
if $bypass_sprockets_uglify
|
||||
puts "Compressing Javascript and Generating Source Maps"
|
||||
manifest = Sprockets::Manifest.new(assets_path)
|
||||
|
||||
@ -216,7 +215,6 @@ task "assets:precompile:compress_js": "environment" do
|
||||
STDERR.puts e.backtrace
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
task "assets:precompile:theme_transpiler": "environment" do
|
||||
|
Reference in New Issue
Block a user