Closed GHNewbiee closed 4 years ago
You are doing it wrong, it should be like this
{
loaders,
jsx: {
fragment,
factory
},
target,
minify,
define
}
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'] */
Also you can do /** @type import('reboost').PluginOptions['esbuild'] */
In
esbuildPlugin
,jsx.target
property gives an error. See photo below.