Example:
src/SomeComponent/index.js use JSX markup inside. But entry.extname.slice(1) detect loader as js which is not correct if {loader: {'.js': 'jsx'} } passed in plugin options.
The idea is to use overrides like in original esbuild with loader property.
Example:
src/SomeComponent/index.js
use JSX markup inside. Butentry.extname.slice(1)
detect loader asjs
which is not correct if{loader: {'.js': 'jsx'} }
passed in plugin options.The idea is to use overrides like in original esbuild with
loader
property.