It seems like if you have a file with some @inline’d constants, the JS output will be empty. However, I’d like to also re-use these constants from some other JS code. Is there currently a way of achieving this? If not, would it be feasible to add support for this?
Thanks!
I think that’s not aligned with inline’s purpose
Maybe you can achieve that by binding the inlined value to another name in the same module
@inline
let xInlined = "value"
let x = xInlined
that seems to work thanks. However I realized that I can’t actually import these values on the JS side since their used in a preprocess step :[