cloudinary-community / netlify-plugin-cloudinary

Supercharge images on your Netlify site with Cloudinary!
https://netlify.cloudinary.dev/
MIT License
42 stars 18 forks source link

Get loadingStrategy value from netlify.toml inputs, default to 'lazy' if not provided #98

Closed gshel closed 1 year ago

gshel commented 1 year ago

Description

loadingStrategy was not being read from the netlify.toml; this PR gets the value from the netlify.toml and if it doesn't exist, it defaults to lazy.

Issue Ticket Number

Fixes https://github.com/cloudinary-community/netlify-plugin-cloudinary/issues/97

Type of change

Checklist

netlify[bot] commented 1 year ago

Deploy Preview for netlify-plugin-cloudinary ready!

Name Link
Latest commit 3b94bb8801932b2e8ae292a95ae1b588a2f562d9
Latest deploy log https://app.netlify.com/sites/netlify-plugin-cloudinary/deploys/65526ef6813f7200081ae618
Deploy Preview https://deploy-preview-98--netlify-plugin-cloudinary.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

gshel commented 1 year ago

Looks like the tests may need to be updated as well, will continue working on it tomorrow or Monday.

colbyfayock commented 1 year ago

thanks for fixing this πŸ˜… im not sure how i never noticed it not working before, but glad you were able to get it set up working right!

i only really have a question on the context of the posix fix, but it seems like it's to help make the project and tests more reliable from an environment perspective?

colbyfayock commented 1 year ago

great work here @gshel - thank you for the contribution!

colbyfayock commented 1 year ago

@all-contributors please add @gshel for code

allcontributors[bot] commented 1 year ago

@colbyfayock

I've put up a pull request to add @gshel! :tada:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

colbyfayock commented 1 year ago

FYI 1.15.0 is available on Netlify!