Skip to content

An example of a gulp task to generate the critical CSS for Drupal's module "Critical CSS"

License

Notifications You must be signed in to change notification settings

maskedjellybean/critical-css-gulp-example

 
 

Repository files navigation

critical-css-gulp-example

An example of a gulp task generating the critical CSS for some urls using Addy Osmani's critical package.

Useful to use in conjunction with Drupal's Critical CSS module or with any other software that needs to use a file containing the critical CSS of any url.

Please note that this gulp task should be tweaked to match your needs and workflow.

Requirements

Steps to follow

$ npm install
$ gulp critical

About

An example of a gulp task to generate the critical CSS for Drupal's module "Critical CSS"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%