brunch / stylus-brunch

Adds Stylus support to Brunch
MIT License
21 stars 2 forks source link

Dependencies are parsed out of comments #5

Closed drichard closed 11 years ago

drichard commented 12 years ago

When a styl file contains an @import declaration inside a comment it will be treated as a dependency of the file as well. This is especially problematic when the file references itself. brunch build will be compiling the same file over and over again and never end.

Example (shared.styl):

// Usage: @import 'shared' to access common constants and mixins etc...

foobar = 100px
mixin1()
  ...
paulmillr commented 11 years ago

fixed