From 5d57c39507083da2988aa9e200808f230a60ecd2 Mon Sep 17 00:00:00 2001 From: Pafcal Date: Tue, 22 Jan 2019 21:24:38 +0200 Subject: [PATCH] Bumped up version to 3.1.0 --- README.md | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d05e72..220f347 100644 --- a/README.md +++ b/README.md @@ -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`
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 diff --git a/package.json b/package.json index cff8761..93fc039 100644 --- a/package.json +++ b/package.json @@ -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",