Skip to content

Commit ebfbef2

Browse files
committed
fix(beasties): add allowRules to Options type
1 parent 7043391 commit ebfbef2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/beasties/src/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ export interface Options {
7676
* Preloads critical fonts _(default: `true`)_
7777
*/
7878
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>
7984
/**
8085
* Shorthand for setting `inlineFonts` + `preloadFonts`
8186
* - Values:

0 commit comments

Comments
 (0)