Phoenix.Digester
Digests and compress static files.
For each file under the given input path, Phoenix will generate a digest
and also compress in .gz
format. The filename and its digest will be
used to generate the manifest file. It also avoid duplications checking
for already digested files.
Summary
compile(input_path, output_path) | Digests and compresses the static files and saves them in the given output path |
Functions
Specs:
Digests and compresses the static files and saves them in the given output path.
input_path
- The path where the assets are locatedoutput_path
- The path where the compiled/compressed files will be saved