mirror of
https://github.com/danog/inline-critical.git
synced 2024-11-30 04:29:07 +01:00
Adds new options to readme
This commit is contained in:
parent
480549442f
commit
76e35c4d70
@ -69,6 +69,8 @@ Run `inline-critical --help` to see the list of options.
|
||||
- `html` is the HTML you want to use to inline your critical styles, or any other styles
|
||||
- `styles` are the styles you're looking to inline
|
||||
- `options` is an optional configuration object
|
||||
- `polyfill` will use loadCSS polyfill instead of preferred media=print strategy (https://www.filamentgroup.com/lab/load-css-simpler/)
|
||||
- `preload` will add preload tags
|
||||
- `minify` will minify the styles before inlining (default: true)
|
||||
- `extract` will remove the inlined styles from any stylesheets referenced in the HTML
|
||||
- `basePath` will be used when extracting styles to find the files references by `href` attributes
|
||||
|
Loading…
Reference in New Issue
Block a user