I'm trying to target esnext, and I'm getting the following error:
craco.config.js
{
plugin: CracoEsbuildPlugin,
options: {
enableSvgr: true,
svgrOptions: {
icon: true,
},
esbuildLoaderOptions: {
loader: 'tsx',
target: 'esnext',
},
esbuildMinimizerOptions: {
target: 'es15',
},
skipEsbuildJest: true, // Setting this to true enables to us to continue using babel to run jest tests
},
},
I'm trying to target esnext, and I'm getting the following error:
craco.config.js