Registration of Stimulus Components best practice?

Hi, I’m using Stimulus Sortable in a rails 7 app, and according to the documentation I should register the controller in app/javascript/conrtollers/index.js

import { Application } from '@hotwired/stimulus'
import Sortable from '@stimulus-components/sortable'

const application = Application.start()
application.register('sortable', Sortable)

But running bin/rails stimulus:manifest:update regenerates that file. What would you recommend to do in these cases?