A handler for the webant module for javascript requires.
npm install webant-handler-jsjs handler is present in your webant configuration file. For example:
json
{
"entry":"src/js/main.js",
"dest":"build/main.js",
"handlers":{
"js":{}
}
}
``
You may now require javascript files:
``javascript
var foo = require("../lib/foo.js");
foo.sayHello();
```