esbuild-runner
esbuild-runner copied to clipboard
`TranspileOptions["esbuild"]` type appears to be wrong
The esbuild option is typed as CommonOptions & TransformOptions & BuildOptions. But TransformOptions and BuildOptions have incompatible types for loader. TransformOptions only take a single Loader, while BuildOptions expects an object mapping extensions to Loaders.
(Er, that's esbuild, of course, not eslint.) 😛