opine-criticalcss

0.0.1 • Public • Published

opine-criticalcss

This module analyses a CSS file and a URL at a given size, then outputs critical CSS to a file

Installation:

yarn add gulp gulp-opine opine-criticalcss

Configuration:

Reminder: with opine you can run gulp config-defaults to print out the current values of all configuration values that haven't been explicitly defined.

  • opine.criticalcss.sourceCSS: a CSS source file to pull styling from (required)
  • opine.criticalcss.sourceURL: a URL for a page to apply styles to (required)
  • opine.criticalcss.dest: the output path and filename (required)
  • opine.criticalcss.width: the width of the window to generate critical CSS for
  • opine.criticalcss.height: the height of the window to generate critical CSS for

Readme

Keywords

none

Package Sidebar

Install

npm i opine-criticalcss

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • studiothick