Skip to content
Discussion options

You must be logged in to vote

After reviewing your PR excaliburjs/Excalibur#3598, I noticed you're using tsup to bundle the playground, correct? However, tsup doesn't handle ?inline properly, it simply converts .css?inline to:

// ../src/engine/Director/Loader.css?inline
var Loader_default = {};

which isn't correct.

Currently, both tsdown and tsup have limited support for CSS. If you only need dts types, you can externalize your CSS imports.

https://tsdown.dev/options/dependencies#external

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kamranayub
Comment options

@kamranayub
Comment options

Comment options

You must be logged in to vote
8 replies
@sxzz
Comment options

sxzz Dec 4, 2025
Maintainer

@kamranayub
Comment options

@kamranayub
Comment options

@sxzz
Comment options

sxzz Dec 4, 2025
Maintainer

Answer selected by kamranayub
@kamranayub
Comment options

@kamranayub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants