WebP image format browser polyfill for Hexo.
npm install hexo-webp-polyfillWebP image format browser polyfill for Hexo.
npm i hexo-webp-polyfill --save
`- 📦 Yarn
`
yarn add hexo-webp-polyfill
`- ⚙️ Enable the plugin by editing main
_config.yml file:
`yaml
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).