Getting Started
Installation
You need to install it using npm or yarn.
$ npm install --save-dev blurhash-loaderor
$ yarn add --dev blurhash-loaderUsage
webpack.config.js
module.exports = { // ... module: { rules: [ test: /\.(?:gif|jpe?g|png|webp)$/i, use: [ { loader: 'blurhash-loader', options: { componentX: 4, componentY: 3 } } ] ] }}