feat(ideal-image): new option disableInDev (#6155)

* feat(ideal-image): new option disableInDev

* Add docs

* Use import type

* More docs
This commit is contained in:
Joshua Chen 2021-12-25 21:48:38 +08:00 committed by GitHub
parent 8cd593379c
commit e1bff072fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 26 deletions

View file

@ -178,6 +178,7 @@ const config = {
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
disableInDev: false,
},
],
[