crystal-community / crystal-libraries-needed

A list of libraries that are needed or wanted for the Crystal-Language
141 stars 4 forks source link

Asset compilation - Coffee, Sass, Images #7

Open drujensen opened 7 years ago

drujensen commented 7 years ago

Yarn and web brick

elorest commented 7 years ago

Yeah. I think that all of this exists. We just need to glue it together.

TheLonelyGhost commented 7 years ago

SASS support might come from C-bindings into libsass, which might have slightly different compatibility than ruby sass.

CoffeeScript might require just deferring to node or npm package for it.

Image transformation is just one of a few libraries: imagemagick, GraphicsMagick, optipng, etc.

I assume the idea is to have an alternative to the rails asset pipeline, at least in part?

RX14 commented 7 years ago

Webpack already exists as a feature rich solution with a big ecosystem. Instead of attempting to reinvent the wheel, why not look at ways to integrate webpack as seamlessly as possible in crystal projects.