Support generating eject comments for .svg files
This commit is contained in:
parent
3191954dda
commit
c39c450e90
@ -41,7 +41,7 @@ export async function getUiModuleFileSourceCodeReadyToBeCopied(params: {
|
||||
return [`/**`, ...lines.map(line => ` * ${line}`), ` */`].join("\n");
|
||||
}
|
||||
|
||||
if (fileRelativePath.endsWith(".html")) {
|
||||
if (fileRelativePath.endsWith(".html") || fileRelativePath.endsWith(".svg")) {
|
||||
return [`<!--`, ...lines.map(line => ` ${line}`), `-->`].join("\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user