-
Notifications
You must be signed in to change notification settings - Fork 371
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
Undocumented option "include" #509
Comments
|
oh,... this is an old option kept for compatibility reasons. it's the same as using the penthouse forceInclude option: critical.generate({
...
penthouse: {
forceInclude: [/listing-/gi,/footer.footer/gi]
},
...
}) |
Is that mentioned in the readme, I did see this in some blog posts. As this
option is really useful, might I suggest that some documentation of how to
force include rules be added . Otherwise this issue is closed. Thanks for
the explanation.
/Tim
…On Wed, Jul 7, 2021, 5:47 PM Ben Zörb ***@***.***> wrote:
oh,... this is an old option kept for compatibility reasons. it's the same
as using the penthouse forceInclude option:
critical.generate({
...
penthouse: {
forceInclude: [/listing-/gi,/footer.footer/gi]
},
...})
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#509 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEGG3RAV52GU4QOSHIQYHTTWTDO7ANCNFSM477NEISA>
.
|
Sure :) |
I will.
/Tim
…On Fri, Jul 9, 2021, 4:01 AM Ben Zörb ***@***.***> wrote:
Sure :)
Do you want to crate a PR adding this to the readme?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#509 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEGG3VSXAXE2DMA3PCB6T3TW2UFJANCNFSM477NEISA>
.
|
Any progress here? I encoutered the same problem and it would be useful to let the developer know about the penthouse option. |
The penthouse option is documented in the readme: |
I noticed that the option "include" is not documented in the readme.md https://github.com/addyosmani/critical#options or am I missing something.
The text was updated successfully, but these errors were encountered: