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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use imports at the end of the file #23

Open
TomFranssen opened this issue Mar 29, 2016 · 1 comment
Open

Use imports at the end of the file #23

TomFranssen opened this issue Mar 29, 2016 · 1 comment

Comments

@TomFranssen
Copy link

When using the imports option the following rule get's added to the top of the CSS file:
@import url('base-blessed1.css?z=1459246439512');
The CSS that has to be imported includes the critical CSS that has to be imported first, not after the request had been made after the @import.
This would be an ideal situation:
In base.css add the CSS until the selector limit has been reached. Then add the @import rule to include the not so critical CSS.

Is it possible to implement this? Maybe with an extra option.

Thanks, Tom

@adam-lynch
Copy link
Member

I think that's possible without needing a change in bless itself. PRs are welcome 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants