hexo-webp-polyfill

2.0.1 • Public • Published

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

Package Sidebar

Install

npm i hexo-webp-polyfill

Weekly Downloads

173

Version

2.0.1

License

MIT

Unpacked Size

8.9 kB

Total Files

9

Last publish

Collaborators

  • mbrjun