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
Build fails when using <style>. #10909
Comments
Is it because your |
@matthewp When I do a build, it generates an html file with no css loaded. |
Do you have any more details that you can share about your environment? I tried reproducing this on Windows, but I am not getting any errors and I can see the styles in the output of the build. |
Sorry, |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When using <style> in an .astro file, I get the following error message when building.
Sometimes I can build without error, but the css is not loaded in the generated html file.
This happens even when I just created a project with default settings.
What's the expected result?
Could be due to Windows environment rather than Astro, but could not be identified.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-wnqguo?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: