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

Example throws error #1

Closed
ThatOneCalculator opened this issue Jun 15, 2024 · 0 comments · Fixed by #2
Closed

Example throws error #1

ThatOneCalculator opened this issue Jun 15, 2024 · 0 comments · Fixed by #2

Comments

@ThatOneCalculator
Copy link
Contributor

import { autoload } from "esbuild-plugin-autoload";

await Bun.build({
	entrypoints: ["src/index.ts"],
	outdir: "out",
	plugins: [autoload()], // error thrown here
}).then(console.log);

autoload in that line throws:

Expected 1 arguments, but got 0.ts(2554)
index.d.ts(7, 34): An argument for 'options' was not provided.
ThatOneCalculator added a commit to ThatOneCalculator/esbuild-plugin-autoload that referenced this issue Jun 15, 2024
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

Successfully merging a pull request may close this issue.

1 participant