pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Improve cloudinary message #42

Closed pixelastic closed 4 years ago

pixelastic commented 4 years ago

Currently, when no cloudinary.bucketName is defined the build fails in production. This is a good thing because it prevents deploying a version with images not working, but we only catch it when deploying, often resulting in a few more commits to fix it.

What we should have instead is cloudinary.enabled (default to true).

Currently the build only fails at the HTML building stage; we should be able to fail way earlier than that

pixelastic commented 4 years ago

This is fixed