validateBuild method
Validate build output
Implementation
bool validateBuild() {
final buildWebPath = path.join(config.buildDir, config.webDir);
final indexFile = File(path.join(buildWebPath, 'index.html'));
return Directory(buildWebPath).existsSync() && indexFile.existsSync();
}