Skip to content

Commit

Permalink
Bumped up version to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iampava committed Jan 22, 2019
1 parent 23fd7bd commit 5d57c39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ The main config of the plugin which controls how different file types are conver
⚠ The **options** object is actually the same one from the [imagemin-webp](https://www.npmjs.com/package/imagemin-webp) plugin so check their documentation for the available settings.

#### overrideExtension

Type: `boolean`<br>
Default: `true`

By default the plugin will override the original file extension, so you will get: image.png -> image.webp
By default the plugin will override the original file extension, so you will get: `image.png` -> `image.webp`

In case you want to concat '.webp' at the end of the file name, set the config value to false. Ex: image.png -> image.png.webp. It may be useful when using nginx or similar to serve .webp files if http-accept header contains webp adding a suffix to the current image.
In case you want to concat '.webp' at the end of the file name, set the config value to false. Ex: `image.png` -> `image.png.webp`. It may be useful when using nginx or similar to serve .webp files, if http-accept header contains webp just add a suffix to the requested image.

#### detailedLogs

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imagemin-webp-webpack-plugin",
"version": "3.0.0",
"version": "3.1.0",
"description": "Webpack plugin which converts images to the WebP format while also keeping the original files.",
"author": {
"name": "Alexandru Pavaloi",
Expand Down

0 comments on commit 5d57c39

Please sign in to comment.