This was hardcoded to "app-" because that's what I wanted mine to use. No real reason it has to be that way, though. Only offering a prefix is still pretty limiting, but better than hardcoding.
14 lines
467 B
Go
14 lines
467 B
Go
package precompiler
|
|
|
|
// Config holds information on how to run the compiler
|
|
type Config struct {
|
|
// 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
|
|
// FilePrefix is a string that will be prefixed on the files if OutputDir is specified
|
|
FilePrefix string
|
|
}
|