-
Notifications
You must be signed in to change notification settings - Fork 5
/
manifest.yml
18 lines (18 loc) · 1.12 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: netlify-plugin-inline-critical-css
inputs:
- name: fileFilter
description: A filter used to target specific files in the publish directory. Be sure to only target HTML files. This option is passed onto the readdirp library, see https://github.com/paulmillr/readdirp#options for more info.
default: ['*.html']
- name: directoryFilter
description: A filter used to target or ignore specific directories in the publish directory. This option is passed onto the readdirp library, see https://github.com/paulmillr/readdirp#options for more info.
default: ['!node_modules']
- name: extract
description: Whether to remove the inlined styles from any stylesheet referenced in the HTML. Use with caution. Removing the critical CSS per page results in a unique async loaded CSS file for every page, meaning you can’t rely on cache across multiple pages.
default: false
- name: dimensions
description: An array of objects containing `width` and `height` properties to deliver critical CSS for multiple screen resolutions.
default:
- width: 414
height: 896
- width: 1920
height: 1080