Support generating eject comment for .properties file

This commit is contained in:
Joseph Garrone 2024-12-20 13:03:58 +01:00
parent 20c6d2ea86
commit 3191954dda

View File

@ -45,6 +45,10 @@ export async function getUiModuleFileSourceCodeReadyToBeCopied(params: {
return [`<!--`, ...lines.map(line => ` ${line}`), `-->`].join("\n");
}
if (fileRelativePath.endsWith(".properties")) {
return lines.map(line => `# ${line}`).join("\n");
}
return undefined;
};