Digests and compresses static files.
mix phx.digest mix phx.digest priv/static -o /www/public
The first argument is the path where the static files are located. The -o
option indicates the path that will be used to save the digested and compressed files.
If no path is given, it will use priv/static
as the input and output path.
The output folder will contain:
Example of generated files:
© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Digest.html