Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Make rake assets:precompile work with esbuild

Alexander Brandon Coles34f2b1138c7e
diff --git a/lib/open_project/assets.rb b/lib/open_project/assets.rb
index 550f765429a..8279c6577cb 100644
--- a/lib/open_project/assets.rb
+++ b/lib/open_project/assets.rb
@@ -74,7 +74,7 @@ module OpenProject
# Create map of asset chunk name to current hash
manifest = {}
OpenProject::Assets.current_assets.each do |filename|
- md = filename.match /\A([^.]+)\.(\w+)\.(\w+)\z/
+ md = filename.match /\A([^.]+)-(\w+)\.(\w+)\z/
# Non-hashed asset
next if md.nil?