2.1.0 • Published 10 years ago

webant-handler-json v2.1.0

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

node-modules-webant-handler-json

Require JSON files with webant

Installation

$ npm install webant-handler-json

Usage

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

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

You may now require JSON files:

var data = require("./path/to/data.json");

Tests Build Status

Ensure phantomjs is installed and in your PATH, then run:

$ npm test
2.1.0

10 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.4.0

11 years ago

0.3.0

11 years ago