Open isiah-lloyd opened 7 years ago
I'm going to kick myself for saying this, but it's worth looking into webpack for this since we use webpack in the current website for our JS, and it can perform the same asset minification as the tools listed above.
This is contingent on me getting the JS from the old site to work with the latest version of webpack, as I have not touched or updated the webpack dependency in a long time.
@isiah-lloyd If you guys are just looking for minification/ other simple image manipulation, have you considered using (Cloudinary)[https://cloudinary.com/]? You can upload all photos there and then include them via an img's src tag like: cloudinary.com/...../image/upload/h_HEIGHTVAL,w_WIDTH_VAL/.../IMG_FILE.jpg
There are other manipulations you can do here in terms of specifying file types, cropping, opacity, etc. While this means adding a remote dependency, it means that we can separate images out from our codebase by no longer keeping them in our git repo
Use Grunt, Gulp, or one of these: https://github.com/planetjekyll/awesome-jekyll-plugins#assets--converters--minifiers to minify our assets and have Travis CI run the script before deployment.