这是indexloc提供的服务,不要输入任何密码
Skip to content

svelte plugin error #1177

@NaviTheCoderboi

Description

@NaviTheCoderboi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions