-
Notifications
You must be signed in to change notification settings - Fork 10
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
plugin-import-css occasionally processes CSS from <link>
tags during development
#492
Closed
1 of 5 tasks
Milestone
Comments
thescientist13
changed the title
**plugin-import-css** occasionally process CSS from
plugin-import-css occasionally process CSS from Mar 21, 2021
<link>
tags during development<link>
tags during development
So been doing a lot of investigation, but when it happened just now, I was able to capture the headers and noticed something interesting
The ex.
|
thescientist13
changed the title
plugin-import-css occasionally process CSS from
plugin-import-css occasionally processes CSS from Mar 21, 2021
<link>
tags during development<link>
tags during development
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type of Change
Summary
Occasionally during development when running
yarn develop
and loading the site for the first time, you'll see the site but with broken styles for (what I came to realize) was any CSS loaded via<link>
tag (which is not the intended behavior)Even at the same time....
Probably related to a recent change to support other
import
for CSS in other browsers, see #482 / #483 for reference I guess?Details
Some interesting observations:
Was seeing something like this for theme.css
Probably need some better logic here and maybe should be based on
request
headers instead?The text was updated successfully, but these errors were encountered: