Skip to content

MBRjun/hexo-webp-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-webp-polyfill

NPM version

WebP image format browser polyfill for Hexo.

Installation

  • 📦 NPM
npm i hexo-webp-polyfill --save
  • 📦 Yarn
yarn add hexo-webp-polyfill
  • ⚙️ Enable the plugin by editing main _config.yml file:
webp_polyfill:
  enable: true
  force: false
  minify: true
  html5: true

Features

  • ✅ Load WebP image format in Internet Explorer 9-11 and IE-based browser.
  • ⚖️ 93 kiB Size(min 303B)
  • ⚠️ Doesn't yet support css background-image and picture elements(upstream issues).

Special thanks to