collect-require
v1.4.0
Published
collect require-js based codebase into a singel js file
Downloads
13
Maintainers
Readme
collect-require
- Converts a require-js based code into standalone scripts for browsers and Rhino/Nashorn Engine.
- Keeps the generated code as close as possible to real code base.
- Doest not support requiring other npm modules
Usage
var collector = require("collect-require"),
baseDir = "src",
main = "index.js",
output = "dist/jeyson.js";
collector.collect(baseDir).save({
path : output,
main : main ,
apiName : "Jeyson",
});
Development
- Run Test
npm run test