Compiler constructor
Compiler(
- Directory sourceDir,
- Directory destinationDir,
- Directory baseFilesDir,
- GlacierConfig _config,
Implementation
Compiler(this.sourceDir, this.destinationDir, this.baseFilesDir, this._config) {
final templateContent = File(path.join(baseFilesDir.absolute.path, "base.html")).readAsStringSync();
template = Template(templateContent, name: "base.html");
assetsDir = Directory(path.join(destinationDir.absolute.path, 'assets'));
}