-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
🐛 BUG: Importing a Lit component breaks .scss imports #3508
Comments
Thanks for opening an issue! This is a known problem with Lit that is being tracked upstream. See lit/lit#2393 and the previous closed Astro issue #2623 |
Actually, I'm going to reopen this to be closed by #3511 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
astro
are you using?v1.0.0-beta.38 and astrojs/lit 0.1.4
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
Importing a local SCSS file (i.e.
import '../test.scss';
) in an Astro component fails (500 error) as soon as any Lit component is imported in the same.astro
file.I used the Astro.new "integrations playground" as a starting point for these:
.scss
import inindex.astro
: https://stackblitz.com/edit/github-pb8eis?file=src/pages/index.astroindex.astro
: https://stackblitz.com/edit/github-pb8eis-xyyw8g?file=src/pages/index.astroWhen I reproduce this issue locally, I can see in my server stack trace:
error Preprocessor dependency "sass" failed to load:
once I cause the error.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-pb8eis-xyyw8g?file=src/pages/index.astro
Participation
The text was updated successfully, but these errors were encountered: