make template before build minify file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>