Elixir v1.0.4 ships with two new important options for new projects. For projects generated prior to Elixir 1.0.4, add these options to your project
entries in mix.exs
:
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod
A new phoenix.digest
task is now inluded which digests and compress static files and can be used during deploy. It also integrates with the static_path
helper to render the proper asset paths from the manifest.