Asset handling in Phoenix 1.6
At the time of writing this, Phoenix 1.6 RC 0 has been released. Among other things it introduces a new templating engine, new generators, and it replaces Webpack with Esbuild as the default asset building tool.
What this means in pratice is, you can no longer put favicons, images etc in the
assets/static folder and expect them to be moved to
priv/static as part of the build process. You will have to do that yourself, e.g. if you have been used to keeping images in
assets/static/images, with Phoenix 1.6 you should keep them in
If you are upgrading from 1.5 to 1.6 you should also update your .gitignore to only exclude
priv/static folder as you would with Phoenix 1.5.