craigmdennis / middleman-gulp-starter

Middleman + Gulp Starter = Static Site Awesomeness
https://youtu.be/-io8EeB3GHI
MIT License
48 stars 5 forks source link

Explore / demonstrate how the Gulp Starter rails helpers might work with Middleman #4

Closed craigmdennis closed 8 years ago

ryanlindsey commented 8 years ago

I'm very interested in this as well. I was going to dig into this myself but would be happy to help if you're interested.

craigmdennis commented 8 years ago

@pixelsonly Feel free to experiment and post your findings. I've created the branch 4_asset-helpers

craigmdennis commented 8 years ago

File revving is now working and the Rails helpers have been ported to Middleman.

Unexpected side-effect: The pre-revved files are copied to the build directory by Middleman.

Ideally we need a way to iterate through the rev-manifest.json and ignore those base files dynamically. It will get really annoying if someone has lots of files, as each file needs to be ignored manually at the moment.

craigmdennis commented 8 years ago

@pixelsonly Want to check out this branch and see it works for you?

craigmdennis commented 8 years ago

On a project with blogs I am now getting no implicit conversion of nil into String on Line 16 of the helper

craigmdennis commented 8 years ago

I'd missed off the extension. All good.