```ruby
module RailsAdminOrderItems
  class Engine < ::Rails::Engine
  end
end```

Add precompile hook so js file is precmpiled and does not throw 500 error in prode env !
user
```ruby
module RailsAdminOrderItems
  class Engine < ::Rails::Engine
    initializer "RailsAdminOrderItems precompile hook" do |app|
      app.config.assets.precompile += ['rails_admin/order_items.js']
    end
  end
end```
assistant