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

Bun-plugin-svelte has no spport for customElement compiler option. #18226

Closed
Atulin opened this issue Mar 16, 2025 · 0 comments · Fixed by #18336
Closed

Bun-plugin-svelte has no spport for customElement compiler option. #18226

Atulin opened this issue Mar 16, 2025 · 0 comments · Fixed by #18336
Assignees
Labels
bake:dev hot-reloading dev server for client+server applications bundler Something to do with the bundler enhancement New feature or request

Comments

@Atulin
Copy link

Atulin commented Mar 16, 2025

What version of Bun is running?

1.2.5+013fdddc6

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

import { SveltePlugin } from "bun-plugin-svelte";

const res = await Bun.build({
	entrypoints: [file],
	outdir: dest,
	root: "./components",
	minify: true,
	sourcemap: "linked",
	splitting: false,
	plugins: [
		SveltePlugin({
			customElement: true,
		}),
	],
});

What is the expected behavior?

The code runs fine

What do you see instead?

customElement does not exist on type SvelteOptions

@Atulin Atulin added bug Something isn't working needs triage labels Mar 16, 2025
@RiskyMH RiskyMH added bundler Something to do with the bundler bake:dev hot-reloading dev server for client+server applications and removed needs triage labels Mar 16, 2025
@DonIsaac DonIsaac self-assigned this Mar 17, 2025
@DonIsaac DonIsaac added enhancement New feature or request and removed bug Something isn't working labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bake:dev hot-reloading dev server for client+server applications bundler Something to do with the bundler enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants