saber-plugin-critical
v1.0.2
Published
Inline critical CSS.
Readme
saber-plugin-critical
Introduction
This plugin extracts & inlines critical-path (above-the-fold) CSS from HTML after saber generate, for example if you're using Tailwind CSS or other CSS frameworks you can use this plugin to remove unused CSS.
Install
yarn add saber-plugin-critical --devUsage
In your saber-config.yml (or .js, .toml etc):
plugins:
- resolve: saber-plugin-criticalContributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
saber-plugin-critical © EGOIST, Released under the MIT License. Authored and maintained by EGOIST with help from contributors (list).
Website · GitHub @EGOIST · Twitter @_egoistlily
