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
This commit is contained in:
Marvin Hagemeister
2025-05-14 22:45:04 +02:00
committed by GitHub
parent 2306be1188
commit 36442d0ded
+1
View File
@@ -52,6 +52,7 @@ export async function bundleJs(
minify: !options.dev,
logOverride: {
"suspicious-nullish-coalescing": "silent",
"unsupported-jsx-comment": "silent",
},
jsxDev: options.dev,