Can you please take into consideration removing the image optimization packages from the stack?
These packages should be optional, because they:
subst in Command Prompt, to be able to delete themRemoving them would also make the setup process much faster.
Thoughts?
We obviously think it's a valuable add on thought we're open to make this an optional dependancy. Are you familiar with how to do that?
How would using it in the design phase be better? The assumption is that image minification is good for production to lower image file sizes. It shouldn't matter what the physical dimensions of the image are because the file size will be reduced either way.
Thanks for replying. Unfortunately no, I'm not familiar with how to do that.
What I meant with the last point in my reasoning, was that first you design your layout, which in turn dictates how you code your email (that's where the physical dimensions come in place).
But, when building your email, you don't do it in production, so image file size doesn't matter at this point: it matters only when you test and launch the email, before which you can easily optimize the images in a separate process (either having imagemin installed separately through npm, or by exporting them optimized from your design tool; with the latter making imagemin return modest file size reduction results).
I realize it is useful comfortable to have it, but given the dependencies nightmare, it think it would be better to have it opt-in.
@rafibomb to make it optional, it would be done via the yeoman generator. I've done it with projects on my side. But I definitely think it should be in by default, but you can make the yeoman generator allow it to be optional.
@hellocosmin I am on Windows as well so I can share my experiences.
production build, but I don't see the harm either way.@davidhouweling thanks for the insights :)
My suggestion was for a simple-as-possible stack, not to overload things and have a swiss army knife. The simpler, the better. And if one desires image optimization modules, they could be made optional, as you noted :)
Thanks again for the input guys, appreciated.
Great discussion!
So @davidhouweling 's idea about moving to a Yeoman generator for building projects. In the meantime you can remove the pipe for imagemin

We could move it to 貌ptionalDependencies`but this would produce bigger zipped projects for future users.
I would also not remove this as this is very important for email.
You can use the template, adust the gulpfile and remove unneeded dependencies.