Customising static js files using custom theme (fork of indigo)

Hi all!

Is it possible to use a theme to override static js files such as lms/static/js/discovery/models
/course_card.js

I’ve added a new version of it to my theme, but it gets added under:
HOST/static/THEMENAME/js/discovery/models/course_card.js
whereas the default
HOST/static/js/discovery/models/course_card.js
is loaded by the courses page

Do I need to update a file elsewhere? I see that some sources include ${static.url…} - perhaps I need to use this somewhere?

Have you find the solution?

Instead of modifying the JS files in the theme, I’m now modifying them in a fork of edx-platform