webant-handler-js

1.0.0 • Public • Published

node-modules-webant-handler-js

Require javascript files with webant

Installation

There should be no need to install this module since it's required by the webant module by default.

If for some reason you'd like to use the module outside of webant, install as follows:

$ npm install webant-handler-js

Usage

Ensure the js handler is present in your webant configuration file. For example:

{
    "entry":"src/js/main.js",
    "dest":"build/main.js",
    "handlers":{
        "js":{}
    }
}

You may now require javascript files:

var foo = require("../lib/foo.js");
foo.sayHello();

Tests Build Status

$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i webant-handler-js

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • theakman2