Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisdwheatley/netlify-plugin-image-optim
Optimize images as part of your Netlify build process. Optimizes PNG, JPEG, GIF and SVG file formats.
https://github.com/chrisdwheatley/netlify-plugin-image-optim
image-optimization netlify netlify-plugin
Last synced: 3 months ago
JSON representation
Optimize images as part of your Netlify build process. Optimizes PNG, JPEG, GIF and SVG file formats.
- Host: GitHub
- URL: https://github.com/chrisdwheatley/netlify-plugin-image-optim
- Owner: chrisdwheatley
- License: mit
- Archived: true
- Created: 2019-11-05T06:23:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T19:03:07.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T16:24:20.531Z (7 months ago)
- Topics: image-optimization, netlify, netlify-plugin
- Language: JavaScript
- Homepage:
- Size: 73.2 KB
- Stars: 63
- Watchers: 3
- Forks: 12
- Open Issues: 30
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
netlify-plugin-image-optim
Optimize images as part of your Netlify build process. Optimizes PNG, JPEG, GIF and SVG file formats.
## Install
You can install this plugin in the Netlify UI from this [direct in-app installation link](https://app.netlify.com/plugins/netlify-plugin-image-optim/install) or from the [Plugins directory](https://app.netlify.com/plugins).
To use file-based installation, add the following lines to your `netlify.toml` file:
```toml
[[plugins]]
package = "netlify-plugin-image-optim"
```Note: The `[[plugins]]` line is required for each plugin, even if you have other plugins in your `netlify.toml` file already.
To complete file-based installation, from your project's base directory, use npm, yarn, or any other Node.js package manager to add this plugin to `devDependencies` in `package.json`.
```
npm install -D netlify-plugin-image-optim
```