segment-boneyard / component-jade

A plugin to transpile Jade files for the component builder.
12 stars 8 forks source link

return file if not .jade #23

Open azhang opened 10 years ago

azhang commented 10 years ago

Not sure if this is intended functionality, but when I include .html templates into component, this plugin will filter them out by returning "undefined". when that hits the component builder, it errors.

Warning: Command failed:
/Users/aaron/src/project2/builder.js:63
  if (err) throw err;
                 ^
TypeError: Cannot read property 'filename' of undefined