neuron-jade-compiler
v2.0.0
Published
The jade(2.0) compiler module for neuron
Downloads
17
Maintainers
Readme
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