construx-dustjs

DustJS compiler plugin for construx


Keywords
krakenjs, kraken-js, construx, less
Licenses
MulanPSL-2.0/Imlib2
Install
npm install construx-dustjs@1.1.0

Documentation

construx-dustjs

Build Status NPM version

construx plugin for JIT-compiling dustjs resources during development of express applications.

Usage

Install

$ npm install --save-dev construx-dustjs

Configure

Where you configure your construx plugins:

{
  "template": {
    "module": "construx-dustjs",
    "files": "/templates/**/*.js",
    "base": "templates",
    "config": {
        "prepend": "",
        "append": "",
        "amd": true
    }
  }
}

config is optional but would be set to the dust module's "config" object, if desired.

Note: See construx README for general usage of construx