twopluszero / next-images

Import images in Next.js (supports jpg, jpeg, svg, png and gif images)
MIT License
948 stars 67 forks source link

Allow setting `inlineImageLimit` value to 0 #9

Closed SBoudrias closed 5 years ago

SBoudrias commented 5 years ago

0 being falsy, the previous default parameter logic was overwriting the value. This disallowed user to disable image inlining.