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:
@@ -52,6 +52,7 @@ export async function bundleJs(
|
|||||||
minify: !options.dev,
|
minify: !options.dev,
|
||||||
logOverride: {
|
logOverride: {
|
||||||
"suspicious-nullish-coalescing": "silent",
|
"suspicious-nullish-coalescing": "silent",
|
||||||
|
"unsupported-jsx-comment": "silent",
|
||||||
},
|
},
|
||||||
|
|
||||||
jsxDev: options.dev,
|
jsxDev: options.dev,
|
||||||
|
|||||||
Reference in New Issue
Block a user