diff --git a/frontend/scripts/_helpers.js b/frontend/scripts/_helpers.js index e3423b0c43..0e284111d6 100644 --- a/frontend/scripts/_helpers.js +++ b/frontend/scripts/_helpers.js @@ -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, );