Skip to content

A platform for community discussion. Free, open, simple.

DEV: Precompile the transpiler before `themes:update` (#23997)

Jarek Radosz16d16c896913
diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake
index 351ba4b5550..9fb8cfec0b1 100644
--- a/lib/tasks/themes.rake
+++ b/lib/tasks/themes.rake
@@ -89,7 +89,7 @@ def update_themes
end
desc "Update themes & theme components"
-task "themes:update" => :environment do
+task "themes:update": %w[environment assets:precompile:theme_transpiler] do
if ENV["RAILS_DB"].present?
update_themes
else