You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add inlineStyleThreshold to my svelte.config.js file it duplicates the CSS; it is both inline and imported via link tags. The link tags have both the disabled property and media="(max-width: 0)" which would make me think they shouldn't be loaded (and if that's the case I don't know why it's included at all) but when I go to the network tab in devtools it shows the styles being loaded
Describe the bug
When I add
inlineStyleThreshold
to mysvelte.config.js
file it duplicates the CSS; it is both inline and imported vialink
tags. The link tags have both thedisabled
property andmedia="(max-width: 0)"
which would make me think they shouldn't be loaded (and if that's the case I don't know why it's included at all) but when I go to the network tab in devtools it shows the styles being loadedNo
inlineStyleThreshold
inlineStyleThreshold
Reproduction
Repo: https://github.com/The-Noah/sveltekit-inline-css
Steps to reproduce
git clone https://github.com/The-Noah/sveltekit-inline-css.git cd sveltekit-inline-css pnpm i pnpm build
build/index.html
to find the inline CSS and CSS import.Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: