Skip to content

Commit 36442d0

Browse files
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 #2942
1 parent 2306be1 commit 36442d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dev/esbuild.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export async function bundleJs(
5252
minify: !options.dev,
5353
logOverride: {
5454
"suspicious-nullish-coalescing": "silent",
55+
"unsupported-jsx-comment": "silent",
5556
},
5657

5758
jsxDev: options.dev,

0 commit comments

Comments
 (0)