2.0.0 • Published 10 years ago

neuron-jade-compiler v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 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

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago