Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 29e8628

Browse files
committed
v1.2.1
1 parent 76cf4b4 commit 29e8628

15 files changed

+438
-600
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [1.2.1] - 2018-03-31
9+
### Changed
10+
- Some `devDependencies` are updated.
11+
- Code-style fixes.
12+
- `scalingUp` option was added.
13+
814
## [1.2.0] - 2017-12-03
915
### Changed
1016
- `babel-cli` -> `Rollup`

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ Option to skip optimization.
103103

104104
Default: `false`
105105

106+
#### `Boolean rule.scalingUp`
107+
108+
Generate or not images with higher width than they's sources are.
109+
110+
Default: `true`
111+
106112
### `Object options`
107113

108114
Object with common config.
@@ -155,6 +161,12 @@ Option to skip optimization.
155161

156162
Default: `false`
157163

164+
#### `Boolean options.scalingUp`
165+
166+
Generate or not images with higher width than they's sources are.
167+
168+
Default: `true`
169+
158170
# Example
159171
[`gulpfile.js`](https://github.com/TrigenSoftware/gulp-srcset/tree/master/example)
160172
```js

example/dist/office.webp

606 Bytes
Loading

example/dist/office@1280w.webp

208 Bytes
Loading

example/dist/office@1920w.webp

320 Bytes
Loading

example/dist/office@3200w.jpg

657 KB
Loading

example/dist/office@3200w.webp

561 KB
Loading

example/dist/office@320w.webp

6 Bytes
Loading

example/dist/office@560w.webp

36 Bytes
Loading

example/dist/office@720w.webp

44 Bytes
Loading

0 commit comments

Comments
 (0)