From 332d48dd332e19a148f97207a8c1b46be3ddc150 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 7 Mar 2020 10:54:59 -0600 Subject: [PATCH] Documented config properties --- config.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 39c1bee..691eda2 100644 --- a/config.go +++ b/config.go @@ -2,7 +2,10 @@ package precompiler // Config holds information on how to run the compiler type Config struct { - Files []string - Minify bool + // Files is a list of files to precompile together + Files []string + // Minify specifies whether minification should happen along with concatenation + Minify bool + // OutputDir if specified will cause the result to be written to this directory OutputDir string }