1.0.0 • Published 10 years ago

webant-handler-js v1.0.0

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

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
1.0.0

10 years ago

0.4.0

10 years ago

0.3.0

11 years ago