emit also variable value in the env template

This commit is contained in:
2026-06-30 12:24:10 +02:00
parent 8851717532
commit 0b1a7becb8
+1 -1
View File
@@ -492,7 +492,7 @@ function writeEnvironmentTemplates(sourceDir, outputRoot) {
}
}
const templateContent = variableNames.length > 0 ? `${variableNames.join('\n')}\n` : '';
const templateContent = variableNames.length > 0 ? `${variableNames.map(v => `${v}={{${v}}}`).join('\n')}\n` : '';
fs.writeFileSync(path.join(targetDir, '.env.template'), templateContent, 'utf8');
}
}