-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task cleanup and added documentation
- Loading branch information
1 parent
6588d7c
commit 5b64be6
Showing
3 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
grunt-webp | ||
========== | ||
|
||
Convert your images to WebP format. | ||
Convert your images to [WebP](https://developers.google.com/speed/webp/) format. | ||
|
||
## Getting Started | ||
|
||
To install this plugin, open up the terminal, `cd` to your project's root directory and run the following command: | ||
|
||
```shell | ||
npm install grunt-webp --save-dev | ||
``` | ||
|
||
In your `Gruntfile.js` file add the following line: | ||
|
||
```js | ||
grunt.loadNpmTasks('grunt-webp'); | ||
``` | ||
|
||
This plugin requires Grunt `~0.4.0` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters