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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 BUG: Unable to load CSS from React-Spectrum #3306

Closed
1 task
Morialkar opened this issue May 5, 2022 · 2 comments 路 Fixed by #3406
Closed
1 task

馃悰 BUG: Unable to load CSS from React-Spectrum #3306

Morialkar opened this issue May 5, 2022 · 2 comments 路 Fixed by #3406
Assignees
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)

Comments

@Morialkar
Copy link

Morialkar commented May 5, 2022

What version of astro are you using?

1.0.0-beta.20

Are you using an SSR adapter? If so, which one?

no

What package manager are you using?

pnpm

What operating system are you using?

Mac

Describe the Bug

Trying to import a UI library, getting strange error about . being an unexpected token.

The UI library documentation mentions requiring css-loader for webpack but no matter how hard I looked, I couldn't find any information in the documentation on how I could solve this kind of situations.

All help would be appreciated, thank you.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-zgagsv?file=src/components/Counter.jsx

Participation

  • I am willing to submit a pull request for this issue.

I might, but I have no idea where to start

@github-actions github-actions bot added this to Needs Triage in 馃悰 Bug Tracker May 5, 2022
@matthewp matthewp self-assigned this May 10, 2022
@matthewp
Copy link
Contributor

Thanks for filing. It seems like there's a deeper issue here and even importing this module fails in SSR: https://stackblitz.com/edit/github-zgagsv-rgrbiy?file=src%2Fpages%2Findex.astro

@matthewp matthewp added - P4: important Violate documented behavior or significantly impacts performance (priority) s2-medium labels May 10, 2022
@matthewp matthewp removed their assignment May 10, 2022
@FredKSchott
Copy link
Member

To investigate, there's a chance that this package may not be compatible with Vite in which case there's not much we can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants