Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TranspileOptions["esbuild"] type appears to be wrong #93

Open
Peeja opened this issue Aug 23, 2024 · 1 comment
Open

TranspileOptions["esbuild"] type appears to be wrong #93

Peeja opened this issue Aug 23, 2024 · 1 comment

Comments

@Peeja
Copy link

Peeja commented Aug 23, 2024

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.

TS Playground

@Peeja Peeja changed the title TranspileOptions["eslint"] type appears to be wrong TranspileOptions["esbuild"] type appears to be wrong Aug 23, 2024
@Peeja
Copy link
Author

Peeja commented Aug 23, 2024

(Er, that's esbuild, of course, not eslint.) 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant