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:
parent
d30eca016e
commit
e74ab949ba
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue