0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 09:38:56 -05:00

🐛 Include debug css in local dev only

This commit is contained in:
Belén Albeza 2024-05-17 16:48:03 +02:00
parent d30eca016e
commit e74ab949ba

View file

@ -303,6 +303,7 @@ async function generateSvgSprites() {
}
async function generateTemplates() {
const isDebug = process.env.NODE_ENV !== "production";
await fs.mkdir("./resources/public/", { recursive: true });
const translations = await readTranslations();
@ -325,6 +326,7 @@ async function generateTemplates() {
manifest: manifest,
translations: JSON.stringify(translations),
pluginRuntimeUri,
isDebug,
},
partials,
);