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

css imports not working until referenced #589

Open
basz opened this issue Aug 1, 2023 · 0 comments
Open

css imports not working until referenced #589

basz opened this issue Aug 1, 2023 · 0 comments

Comments

@basz
Copy link

basz commented Aug 1, 2023

In a new v2 addon we found that css imports are optimized away unless it is referenced.

A simple import '@shoelace-style/shoelace/dist/themes/dark.css' is expected to work but does not.

https://github.com/basz/shoelace-ember/blob/main/%40shoelace-style/ember/src/index.ts#L9

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

No branches or pull requests

1 participant