tj / consolidate.js

Template engine consolidation library for node.js
3.48k stars 353 forks source link

use swig-templates module #284

Closed fatihky closed 7 years ago

fatihky commented 7 years ago

since swig module is unmaintained, there is a maintained fork exists.

doowb commented 7 years ago

@fatihky thanks for the PR.

Can you change this so both options are available and the user can decide which one they want to use? This will be similar to jade and pug that try to require in pug and if that fails, then requires in then-pug.

Then you can include the swig-templates link in the readme after the unmaintained swig link.

fatihky commented 7 years ago

Hey @doowb, I made changes prior to your comment. Could you check them out if these ok?

doowb commented 7 years ago

@fatihky this looks great, thanks!

fatihky commented 7 years ago

thank you @doowb!