How to invoke Jinja processing in my card JS code?

@samuelthng thanks, that’s helpful.

I totally admit to resistance to facing the typescript ecosystem. :sweat_smile: But it’s mostly because my experience taught me that I shouldn’t face too many learning curves at once. Each of those things is a rabbit-hole, if I don’t have a stable position from which to approach them. And since I am new to JS, Home Assistant, Lovelace, Todoist API I’m working with, etc., I’m trying to avoid as much confusion as I can. I’m sure I will eventually want to learn these properly, though. I’ll get there, hopefully.

About the bundling - anything specific for HASS? For example, I’ve faced this problem, I guess my current issue is an extension of that mechanism. Do you know if that sort of thing is documented somewhere in a way that is specific to HASS?

Thanks!