browserify-files

0.0.1 • Public • Published

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)

Keywords

none

install

npm i browserify-files

Downloadsweekly downloads

0

version

0.0.1

license

BSD

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability