browserify-files

browserify-files ================

npm install browserify-files
2 downloads in the last week
4 downloads in the last month

Example

Server

var browserify  = require("browserify"),
browserifyFiles = 
handlebars      = require("handlebars");

var bundle = browserify({
    mount: "/some/file.js",
    watch: true
});

require("browserify-files").register(["html", "txt", "css"], bundle);
bundle.addEntry("/entry.js");

/entry.js

var views = [
    require("./test.html")
];

console.log(views)
npm loves you