Skip to content

LingyuCoder/hexo-generator-autoprefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo-generator-autoprefixer

This is a hexo generator plugin. It will parse CSS and add vendor prefixes using values from Can I Use after hexo generate with Autoprefixer

This plugin can only work on Hexo 2.x but the newest version of Hexo is 3.x

#Install

$ npm install -S hexo-generator-autoprefixer

#Option You can configure this plugin in _config.yml.

autoprefixer:
  enable: true
  debug: true
  cascade: false
  browsers:
    - '> 1%'
    - 'last 2 versions'
  safe: true
  • enable: should autoprefix enabled
  • debug: should show log
  • cascade: should Autoprefixer uses Visual Cascade, if CSS will be uncompressed
  • browsers: list of browsers, which are supported in your project
  • safe: enables Safe Mode(a special safe mode to parse broken CSS) in PostCSS. By default false

About

Autoprefix CSS files after hexo generate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors