We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allowRules
1 parent 7043391 commit ebfbef2Copy full SHA for ebfbef2
packages/beasties/src/types.ts
@@ -76,6 +76,11 @@ export interface Options {
76
* Preloads critical fonts _(default: `true`)_
77
*/
78
preloadFonts?: boolean
79
+ /**
80
+ * Always include rules matching these selectors or patterns in the critical CSS, regardless of whether they match elements in the document.
81
+ * @default []
82
+ */
83
+ allowRules?: Array<string | RegExp>
84
/**
85
* Shorthand for setting `inlineFonts` + `preloadFonts`
86
* - Values:
0 commit comments