[wp-trac] [WordPress Trac] #22862: Consider a CSS preprocessor
WordPress Trac
noreply at wordpress.org
Tue Aug 6 17:59:05 UTC 2013
#22862: Consider a CSS preprocessor
-----------------------------+------------------------------
Reporter: chriswallace | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by bpetty):
@wonderboymusic - The Grunt system announced can use
[https://github.com/andrew/node-sass node-sass] through
[https://github.com/sindresorhus/grunt-sass grunt-sass] to compile SCSS,
which is the new javascript binding to the new libsass library I mentioned
earlier, although it is much more mature and usable than the PHP bindings.
The reason I mention what language the library is written in is because
the difference between the libsass C library, and the Ruby library means
the difference between WordPress developers being required to install a
full Ruby stack to work on WordPress, or just libsass + whatever preferred
binding needed (node-sass, or eventually a even a PHP extension). The
former is significantly more difficult across various platforms, and
raises the bar for new developers interested in contributing.
Grunt didn't even have the ability to compile SCSS without requiring you
to install Ruby until that work was done on libsass. It's not hard to find
other projects [https://github.com/stefanpenner/ember-app-kit/pull/15
making the switch] to grunt-sass instead of grunt-contrib-sass (Ruby).
So yes, I did consider this a factor worth considering in this decision.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22862#comment:47>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list