Redesign of dlang.org

David Gileadi via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 21 13:12:30 PDT 2014


On 4/21/14, 12:38 PM, Aleksandar Ruzicic wrote:
> I'm not sure if it is smart to use simple text macro processing system
> as a replacement for full-featured DSL such is Sass. And I don't think
> that some features available (and really useful!) in Sass are even
> possible with Ddoc. For example branching with @if, composing of various
> style sets to optimal CSS (Sass has @extend directive for this).
> Also, Ddoc can't minify resulting CSS which is something that is
> considered good practice (serve gzipped minified JS/CSS), so some
> external tool must be used for that. With node-sass we can get all that
> and more (i.e. source maps)..

A little searching turned up libsass.org which apparently is the native 
library that node.js uses for its implementation. So if there's an 
objection to full node.js (or if vibe.d is used) then perhaps the native 
library would do.


More information about the Digitalmars-d mailing list