package
browserify v2 plugin for jade with sourcemaps support
npm install browserify-jadeGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 8 packages.
823.7 kB
Includes dependencies.
4 direct · 4 outdated
~2.2.0
2.3.8
~0.1.29
0.8.0
~0.2.3
2.0.0
1.7.0
jade transform for browserify v2. Sourcemaps generation included.

If you are using browserify-jade programatically, you can pass options to the Jade compiler by
calling jade() on the browserify-jade transform:
var b = browserify();
b.transform(require('browserify-jade').jade({
pretty: false
}));If you are using browserify-jade in a command line build, you can pass parameters by adding a "browserify-jade" section to your package.json. You can either include parameters directly:
"browserify-jade": {
"pretty": false
}or for more complicated cases you can reference a .js file:
"browserify-jade": "./assets/browserify-jade-config.js"And then in browserify-jade-config.js:
module.exports = {
pretty: (process.env.NODE_ENV == 'production')?true:false
};alexstrat
alexandre.lacheze@gmail.com