Mix.Tasks.Phoenix.Digest

Digests and compress static files.

mix phoenix.digest
mix phoenix.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:

Source

Summary

run(args)

Callback implementation of Mix.Task.run/1

Functions

run(args)

Callback implementation of Mix.Task.run/1.

Source