You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. I can reproduce the issue. The specific problem is using --minify with --jsx=preserve with input that looks like <Foo {...{ [a]: b }} />. Normally esbuild's minifier turns {...{ [a]: b }} into { [a]: b } but the code that prints JSX elements back out expects properties to be strings, since they always are strings outside of this one edge case. I'll fix this.
I got an error with
esbuild: 0.15.15
Content of the file:
withFeatureProp.tsx
:Background info:
esbuild.js
, which I execute asyarn ts-node esbuild.ts
:The text was updated successfully, but these errors were encountered: