I found a fix !
In the github, @Bram_Kragten suggest using this setup in the config.yaml :
resources:
I was instead using the following to not rely on an internet connection to get this card to work :
resources:
- url: /local/custom-lovelace/swipe-card/swipe-card.js
type: module
Unfortunatly, it seems that the github version is not being updated, while the server hosted one is a more recent released, that eliminates this behaviour.
To keep it local, I just downloaded the online version, replaced my local “swipe-card.js” with it, and removed the compressed swipe-card.js.gz.
Sinced then, no more bug loading the card