maxparm / node-underscorify

Underscore template pre-compiler for browserify
MIT License
31 stars 12 forks source link

How can this be used in node? (for tests) #17

Open timwis opened 9 years ago

timwis commented 9 years ago

I'm writing tests to run in node.js with mocha via jsdom (following this example) and I notice node-underscorify does not have an effect when the require() is done outside of browserify (makes sense). Is there any way to run my require() through node-underscorify outside of browserify? Or am I going about testing all wrong?