mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix template generation for storybook
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
{{> ../public/images/sprites/symbol/icons.svg }}
|
{{> ../public/images/sprites/symbol/icons.svg }}
|
||||||
|
|
||||||
|
|||||||
@@ -353,11 +353,13 @@ async function generateTemplates() {
|
|||||||
|
|
||||||
await fs.writeFile("./resources/public/index.html", content);
|
await fs.writeFile("./resources/public/index.html", content);
|
||||||
|
|
||||||
content = await renderTemplate("resources/templates/preview-body.mustache", {
|
content = await renderTemplate(
|
||||||
|
"resources/templates/preview-body.mustache",
|
||||||
|
{
|
||||||
manifest: manifest,
|
manifest: manifest,
|
||||||
translations: JSON.stringify(translations),
|
},
|
||||||
});
|
partials,
|
||||||
|
);
|
||||||
await fs.writeFile("./.storybook/preview-body.html", content);
|
await fs.writeFile("./.storybook/preview-body.html", content);
|
||||||
|
|
||||||
content = await renderTemplate("resources/templates/render.mustache", {
|
content = await renderTemplate("resources/templates/render.mustache", {
|
||||||
|
|||||||
Reference in New Issue
Block a user