mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Include debug css in local dev only
This commit is contained in:
@@ -303,6 +303,7 @@ async function generateSvgSprites() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function generateTemplates() {
|
async function generateTemplates() {
|
||||||
|
const isDebug = process.env.NODE_ENV !== "production";
|
||||||
await fs.mkdir("./resources/public/", { recursive: true });
|
await fs.mkdir("./resources/public/", { recursive: true });
|
||||||
|
|
||||||
const translations = await readTranslations();
|
const translations = await readTranslations();
|
||||||
@@ -325,6 +326,7 @@ async function generateTemplates() {
|
|||||||
manifest: manifest,
|
manifest: manifest,
|
||||||
translations: JSON.stringify(translations),
|
translations: JSON.stringify(translations),
|
||||||
pluginRuntimeUri,
|
pluginRuntimeUri,
|
||||||
|
isDebug,
|
||||||
},
|
},
|
||||||
partials,
|
partials,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user