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
We are working in a monorepo and using rollup with this plugin for building our modules, however we started getting this error: Error: Transform failed with 1 error: error: Invalid option in transform() call: "jsx"
I debugged both the plugin and esbuild and found out that the issue was caused due to the plugin adding a "jsx" option which isn't supported in the esbuild version noted in the plugin's pacakge.json.
I was able to solve it by manually installing the latest version of esbuild, but I think that its best to also update the version the the plugin's pacakge.json.
rollup-plugin-esbuild version: 4.5.0
esbuild in the plugin's package.json: 0.12.5
My esbuild version: 0.12.7
The text was updated successfully, but these errors were encountered:
We are working in a monorepo and using rollup with this plugin for building our modules, however we started getting this error:
Error: Transform failed with 1 error: error: Invalid option in transform() call: "jsx"
I debugged both the plugin and esbuild and found out that the issue was caused due to the plugin adding a "jsx" option which isn't supported in the esbuild version noted in the plugin's pacakge.json.
I was able to solve it by manually installing the latest version of esbuild, but I think that its best to also update the version the the plugin's pacakge.json.
rollup-plugin-esbuild version: 4.5.0
esbuild in the plugin's package.json: 0.12.5
My esbuild version: 0.12.7
The text was updated successfully, but these errors were encountered: