mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 04:46:37 +02:00
🐛 Fix template generation for storybook
This commit is contained in:
parent
de89dfe27f
commit
c6a7ad0520
2 changed files with 8 additions and 7 deletions
|
@ -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", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue