Note template imported resources are removed via media check

Have created a note template that is supposed to import a .css as well as a .js file. The resources included via @import or and stored in the media file folder are included and displayed, but the media file check always selects them as “The following files were found in the media folder, but are apparently not used by any card” and removes them accordingly
… How can I prevent this?

https://docs.ankiweb.net/media.html#checking-media

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.