Nondigestible Purple Mayonnaise

    hexo-uncss2

    1.0.2 • Public • Published

    uncss2 plugin for Hexo

    Remove unused styles from CSS with uncss.

    This plugin is a fork of vseventer plugin

    Install

    $ npm install hexo-uncss2 --save

    Options

    You can configure this plugin in _config.yml.

    uncss:
      enable   : true
      ignore   : "#added_at_runtime"
      media    : (min-width: 700px) handheld and (orientation: landscape)
      priority : 10
      timeout  : 1000
      uncssrc  : .uncssrc
    • enable - Enable the plugin. Defaults to true.
    • priority - Set the filter priority. Lower priorities execute first. Defaults to 10.
    • All other options correspond to their uncss equivalent.

    Debugging

    Launch the node process like DEBUG=hexo:uncss hexo ... to inspect debug messages.

    Changelog

    See the Changelog for a list of changes.

    License

    [MIT License (MIT)](./LICENSE.txt)
    

    Install

    npm i hexo-uncss2

    DownloadsWeekly Downloads

    9

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    8.41 kB

    Total Files

    6

    Last publish

    Collaborators

    • tomap