From 76e35c4d702719672d8b2fc36af0fd67ec15f5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Z=C3=B6rb?= Date: Wed, 20 May 2020 00:37:10 +0200 Subject: [PATCH] Adds new options to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2d5df5e..f419397 100644 --- a/README.md +++ b/README.md @@ -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