@sa-labs/leo-plugin-images

0.7.0 • Public • Published

Leo Plugin Images

Provides Image processing for the Leo static site generator.

Installation

npm i --save leo-plugin-images

then add it to the plugins list in your .leorc.

{
  "plugins": [
    "leo-plugin-images"
  ],
  ...
}

Usage

require an image in any React Component. The image will be optimized, the filename hashed and the new image will be output into the dist/ directory.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.7.0
    1
    • latest
  • 0.3.4
    1
    • next

Version History

Package Sidebar

Install

npm i @sa-labs/leo-plugin-images

Weekly Downloads

8

Version

0.7.0

License

ISC

Last publish

Collaborators

  • jsouth
  • biscarch