webant-handler-mtmpl

2.1.0 • Public • Published

node-modules-webant-handler-mtmpl

Require John Resig style micro-templating files with webant

See:

Installation

$ npm install webant-handler-mtmpl

Usage

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

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

You may now require mtmpl files:

require("../path/to/tmpl.mtmpl");

See the webant module for more information.

Tests Build Status

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

$ npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    1
  • 2.0.0
    1
  • 1.0.0
    1
  • 0.2.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i webant-handler-mtmpl

Weekly Downloads

5

Version

2.1.0

License

MIT

Last publish

Collaborators

  • theakman2