2.0.0 • Published 8 years ago

neuron-jade-compiler v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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

2.0.0

8 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago