componentjs / builder2.js

builder for component
50 stars 20 forks source link

builder.plugins.css broken? #52

Closed pgherveou closed 10 years ago

pgherveou commented 10 years ago

It seems that the builder.plugins.css() method is broken it return true instead of file content

var css = yield builder
  .styles(tree)
  .use('styles', builder.plugins.urlRewriter(''))      
  .end();

// css =>  ".foo { margin: 0}"

var css = yield builder
  .styles(tree)
  .use('styles', builder.plugins.css())
  .end();

// css =>  "true"
jonathanong commented 10 years ago

should be fixed in 1.1.4