Skip to content

Commit

Permalink
fix: ensure MARKO_DEBUG is stripped for translators
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Aug 19, 2024
1 parent e8237f6 commit 9411c9d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/serious-penguins-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@marko/translator-interop-class-tags": patch
"@marko/translator-tags": patch
---

Fix issue where MARKO_DEBUG was not being processed when bundling @marko/translator-tags and @marko/translator-interop.
3 changes: 3 additions & 0 deletions packages/translator-interop/scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ build({
platform: "node",
packages: "external",
entryPoints: [`src/index.ts`],
define: {
MARKO_DEBUG: "false",
},
}).catch((err) => {
console.error(err);
process.exit(1);
Expand Down
3 changes: 3 additions & 0 deletions packages/translator-tags/scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ build({
platform: "node",
external: [...external],
entryPoints: [`src/index.ts`],
define: {
MARKO_DEBUG: "false",
},
}).catch((err) => {
console.error(err);
process.exit(1);
Expand Down

0 comments on commit 9411c9d

Please sign in to comment.