Task flow mind map and paths.
taeo opened this issue · comments
taeo commented
@leemunroe & @clecompte
I'm trying to get my head around some of the image path related flow we're seeing that will result in inconsistent behavior for #26 #25 and #28
Here's my stab at a high level outline. Your thoughts?
(Let me know if you think i'm crazy...)
- assemble
- premailer
- imagemin
- TASK NEEDED to replace
./dist/*.html
files image sources from./src/img
to./dist/img
- TASK NEEDED to replace
- imagemin
- premailer
Anything sent to cdn (cloudfiles, aws, etc..) and replaced in cdn task(s) should always have /dist/img/
consistent or this falls apart.
- cloudfiles || aws_s3
(should send./dist/img/**/*.{png,jpg,gif}
to:http://cdnurl.com/some-optional-path/
+dist/img/**/*.{png,jpg,gif}
)- cdn: cloudfiles || aws_s3
(should replace./
dist/img/PATH-TO-FILE withhttp://cdnurl.com/some-optional-path/
)
- cdn: cloudfiles || aws_s3
Lee Munroe commented
@taeo I think you nailed it.
taeo commented
@leemunroe - Word. Preference on how we want to go about this and who's doing what?
FYI - @clecompte