Closed mulfyx closed 3 years ago
although an API could be nice, given that esbuild-runner is already well integrated with Jest I sponsor a config file e.g: esbuild.config.js
module.exports = {
target: 'esnext',
plugins: [...]
}
I'll see if I can add both the extra options to the API and the config file
I'm running into issues regarding evaluating CommonJS and this would probably help.
I just made a new release that supports passing options to the API and reading of esbuild.config.js
@folke error: Cannot use plugins in synchronous API calls
maybe add support for passing esbuild options for 'install' functions? like this: