pthrasher / snockets

Sprockets-style script concatenation for Node
119 stars 39 forks source link

separating requires by newline matters #29

Closed darthdeus closed 11 years ago

darthdeus commented 12 years ago

I found that if you put a space between requires, such as

#= require foo

#= require bar

it is not the same as

#= require foo
#= require bar

This behavior is different from how Sprockets behaves. I'm not sure if this is intentional, but I didn't find a closed issue for it.

pthrasher commented 11 years ago

I don't believe this should be the case. What is the behavior you're seeing?