Skip to content

Added support for static Jade compilation. #16

Open
wants to merge 1 commit into from

2 participants

@michaek
michaek commented Jan 7, 2014

When filesets' separate is available in Brunch, that'll remove the main reason for not supporting compilation to static HTML: concatenation of matched files. Because this is relatively simple, it seems better to include in the official jade-brunch than to point to a separate plugin.

@es128
Brunch member
es128 commented Jan 7, 2014

What actually happens here when used with brunch 1.7.x? I would guess it concatenates the HTML into a js output file, completely breaking it.

When separate is used with templates, it'll somehow need to know whether to write it as a .js or .html file. That isn't something I've considered or thought through so far.

@michaek
michaek commented Jan 7, 2014

I had planned that compiling to static without using separate would break, but I didn't get as far as checking what file extension is written to. Let's put this on hold, then.

@michaek
michaek commented Jan 7, 2014

If the value of separate was a string, it could override the output extension. :)

@es128
Brunch member
es128 commented Jan 7, 2014

Yeah this will have to be put on hold until there is at least some separate functionality in brunch master to try it out against. But this did shed light on more use cases to consider when developing that, so thank you for submitting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.