Support generating eject comment for .properties file
This commit is contained in:
parent
20c6d2ea86
commit
3191954dda
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user