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 compress the static files and save them in the given output path |
Functions
Specs:
Digests and compress the static files and save 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