"esbuildPlugin - jsx.target" mismatch type declaration
GHNewbiee opened this issue · 3 comments
GHNewbiee commented
sarsamurmu commented
You are doing it wrong, it should be like this
{
loaders,
jsx: {
fragment,
factory
},
target,
minify,
define
}
GHNewbiee commented
Yes, sorry!
Just for reference: In case that esbuildPlugin.config.js
is used then the following has to be added at the beginning of the file:
/** @type import('reboost').esbuildPlugin['esbuildPluginOptions'] */
sarsamurmu commented
Also you can do /** @type import('reboost').PluginOptions['esbuild'] */