10

I was wondering if any effort has been made towards integration of YUI3 with rails asset pipeline.

By integration, I don't just mean a couple of helpers for including the library but rather a complete integration of YUI module loader.

I'll elaborate the idea in detail:

  • Currently, developers developing modules using YUI rely on Ant tasks for concatenating the module components and wrapping them up with some associated metadata and generating target files ( and optionally minifying and running jslint).
  • Also, when fetching the modules, the YUI loader calculates the module dependencies and generates a single file comprising of all the dependencies which havent been included already in the page. I was wondering if the whole functionality could be seamlessly integrated into the Asset pipeline of rails.
Jonas G. Drange
  • 8,749
  • 2
  • 27
  • 38
lorefnon
  • 12,875
  • 6
  • 61
  • 93

1 Answers1

3

Shifter is DIY, but at least you can stop using Ant for concat.

Jonas G. Drange
  • 8,749
  • 2
  • 27
  • 38
  • Shifter is interesting - while I was looking forward to a solution that could automate the generation of builds on an on-the-fly basis, Shifter would be the next best thing. – lorefnon Dec 05 '12 at 17:14