yavorsky / riot-brunch

Adds Riot.js support to brunch
14 stars 15 forks source link

Add file path to compiler #8

Closed sntran closed 8 years ago

sntran commented 8 years ago

riot@2.3.12 added url as third parameter to the compile method. We need to forward the path from brunch to Riot's compiler.

This is especially useful when dealing with Jade's include with relative path, as the template file's path will be passed to filename option of Jade's compiler.

yavorsky commented 8 years ago

@sntran Thank you!