say I have a module attribute like
@priv :code.priv_dir(:my_app)
or sth else that gets compiled, like
~H"""<%= :code.priv_dir(:my_app) %>"""
This all works fine but if you mix release
the priv-dir changes and the path becomes invalid.
What do? Where to put my files?
What I actually do is load some css from priv like
<%= Phoenix.HTML.raw(:code.priv_dir(:my_app) ++ '/css/style.css') %>