new Compiler(sourcePathList, bm, flatten, outputFull)
A reusable Compiler for Democracy.js with a search path and custom outputter.
Parameters:
Name | Type | Description |
---|---|---|
sourcePathList |
Array |
of strings for local directories. Can omit the |
bm |
Object |
optional, a BuildsManager if you've already created one with the inputters and outputters you need, possibly shared with a Linker and Deployer. |
flatten |
Boolean |
whether to save a flattened source file into |
outputFull |
Boolean |
where to save fill compile outputs into |
- Source: