cloudchen / grunt-template-jasmine-requirejs

RequireJS template for grunt-contrib-jasmine task
111 stars 97 forks source link

src/templates/jasmine-requirejs.html styles needs to support less #79

Closed joeheyming closed 9 years ago

joeheyming commented 9 years ago

The template needs to detect if the input is css or less. If it is less, you need to output

<% css.forEach(function(style){ %> <% if (style.match(/.less$/)) {>

<% } else { %>

<% }}) %>

cloudchen commented 9 years ago

Pre-process less files in other grunt tasks. This task only focuses on its own mission.

joeheyming commented 9 years ago

yeah i figured out a workaround elsewhere, thanks for your time!