Using broccoli to turn a folder of files into JSON

Mar 9 2015

One of the neater technologies that powers Dollar Shave Club's member experience is our UI icons powered by ember-data. I wrote about that here, back in the day when we used gulp to build our ember app.

Within the past month, we updated our app to be ember-cli based. With that migration came the need to refactor away from some of our gulp dependencies. Luckily, one of those dependencies was one I wrote -- gulp-file-contents-to-json.

I wrote a Broccoli equivalent: broccoli-file-contents-to-json. Please check it out when you get a chance.