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:
parent
de89dfe27f
commit
c6a7ad0520
2 changed files with 8 additions and 7 deletions
|
@ -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(
|
||||||
manifest: manifest,
|
"resources/templates/preview-body.mustache",
|
||||||
translations: JSON.stringify(translations),
|
{
|
||||||
});
|
manifest: manifest,
|
||||||
|
},
|
||||||
|
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", {
|
||||||
|
|
Loading…
Add table
Reference in a new issue