-
Notifications
You must be signed in to change notification settings - Fork 372
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
@import url("a.css"); files get ignored #294
Comments
Inline styles are currently not processed by critical so these imports are invisible to critical.generate({
css: ['a.css', 'b.css', ...]
}); Even though Why don't you use |
import can in in the CSS as well; this syntax just makes testing it a lot easier. What file would I need to edit in order to do a pull request for this feature? Could you point me the right direction? |
The stylesheets are extracted with |
If you want to take this to the extreme make a webpage that uses this style for loading css
When running
critical https://import.css.url.com/
it'll spit out this "Error: css should not be empty" even though css files do exist.The text was updated successfully, but these errors were encountered: