I am using browserify (using browserify-middleware) how can I require simple text files, something like:
var myTmpl = require(\"myTmpl.txt\");
stringify:
https://github.com/JohnPostlethwait/stringify
Here's author example:
var bundle = browserify() .transform(stringify(['.hjs', '.html', '.whatever'])) .add('my_app_main.js');