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

svelte plugin error #1177

Closed
NaviTheCoderboi opened this issue Aug 7, 2024 · 0 comments · Fixed by #1288
Closed

svelte plugin error #1177

NaviTheCoderboi opened this issue Aug 7, 2024 · 0 comments · Fixed by #1288

Comments

@NaviTheCoderboi
Copy link

NaviTheCoderboi commented Aug 7, 2024

guys when i try to transpile my ts and svelte project,i ran the following command

tsup src --dts

my config is

import { defineConfig } from 'tsup';

export default defineConfig({
	clean: true,
	target: 'esnext',
	format: ['esm'],
	treeshake: true,
	bundle: false,
	splitting: true,
});

i get the following error

X [ERROR] Invalid compiler option: The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true [plugin svelte]

ESM Build failed
Error: Build failed with 1 error:
error: Invalid compiler option: The boolean options have been removed from the 
css option. Use "external" instead of false and "injected" instead of true
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