0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 23:08:24 -05:00

🐛 Fix template generation for storybook

This commit is contained in:
Belén Albeza 2024-07-01 15:52:15 +02:00
parent de89dfe27f
commit c6a7ad0520
2 changed files with 8 additions and 7 deletions

View file

@ -1,2 +1 @@
{{>../public/images/sprites/symbol/icons.svg}}
{{> ../public/images/sprites/symbol/icons.svg }}

View file

@ -353,11 +353,13 @@ async function generateTemplates() {
await fs.writeFile("./resources/public/index.html", content);
content = await renderTemplate("resources/templates/preview-body.mustache", {
manifest: manifest,
translations: JSON.stringify(translations),
});
content = await renderTemplate(
"resources/templates/preview-body.mustache",
{
manifest: manifest,
},
partials,
);
await fs.writeFile("./.storybook/preview-body.html", content);
content = await renderTemplate("resources/templates/render.mustache", {