From 36442d0ded088c0716373c95f4f3fba2ee09dd93 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Wed, 14 May 2025 22:45:04 +0200 Subject: [PATCH] fix(core): silence esbuild jsx comment warning (#2944) JSR is a bit over-eager with inserting JSX comments and inserts both `@jsx classic` and `@jsxImportSource` which are ignored in combination Fixes https://github.com/denoland/fresh/issues/2942 --- src/dev/esbuild.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dev/esbuild.ts b/src/dev/esbuild.ts index d56eb006..8508b28b 100644 --- a/src/dev/esbuild.ts +++ b/src/dev/esbuild.ts @@ -52,6 +52,7 @@ export async function bundleJs( minify: !options.dev, logOverride: { "suspicious-nullish-coalescing": "silent", + "unsupported-jsx-comment": "silent", }, jsxDev: options.dev,