assemble/grunt-assemble

Add preprocess option

Opened this issue · 2 comments

There's already the .postprocess option. It would be super useful to have .preprocess too.

I thought there was a preprocess option in assemble v0.4.x, but I guess we didn't implement it or took it out. I might be wrong. If not, it's unlikely that we'll implement it with assemble v0.4.x since we're focused on v0.6.x atm.

Once we get this updated to 0.6, this is taken care of with either a plugin that runs after render, or a .postRender() middleware.

I'll keep this open until we make the upgrade. thanks for letting us know what you'd like to see!

@jonschlinkert Thanks for the fast reply!