neuron-jade-compiler

2.0.0 • Public • Published

Build Status

neuron-jade-compiler

The jade(2.0) compiler module for neuron

Install

$ npm install neuron-jade-compiler --save

Usage

var jade_compiler = require('neuron-jade-compiler');
var builder = require('neuron-builder');
 
builder(entry, {
  pkg: pkg,
  cwd: cwd,
  compilers: [{
    test: /\.jade$/,
    compiler: jade_compiler,
    options: jade_options
  }]
}, function(err, content){
  // if no `err`, `content` will be the bundled content.
});

see neuron-builder for more details.

jade_options

Default specified options for jade

  • filename: will always be the filename of the current file
  • compileDebug: false
  • externalRuntime: false

Other options are not set by default, see here for details

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    2
    • latest

Version History

Package Sidebar

Install

npm i neuron-jade-compiler

Weekly Downloads

5

Version

2.0.0

License

MIT

Last publish

Collaborators

  • kael