Loading images and assets in phoenix 1.6.2

Interesting on the esbuild with Phoenix. I think later versions of Rails are also moving away from Webpacker. (My Rails app is still on Sprockets :(( )

What I was saying is that the priv/static directory is going to be overwritten whenever webpacker compiles. so it’s not safe to put files directly into priv/static ONLY, as you will lose them.