1.0.0 • Published 9 years ago
zuulnice v1.0.0
zuulnice
Zuul plays nice with Browserify
Install
From npm.
npm install zuulnice
Use
Configure Zuul using the .zuul.yml
yaml file. First off, add the zuulnice
builder.
builder: zuulnice
It works exactly like the default builder, and it adds extra functionality through the yaml configuration. You can set any of the configuration elements in the list below.
plugin
external
ignore
exclude
transform
add
require
The syntax is as follows. You can pass options to any of them, and you can use multiples as the configuration object is treated as an array!
builder: zuulnice
browserify:
- plugin: proxyquire-universal
- require: ./some-file.js
expose: intimidate
entry: true
- external: ./some-module.js
- transform: brfs
- transform: jadeify
You can also configure what's passed as the opts
to browserify(opts)
by adding an items with the options
property.
builder: zuulnice
browserify:
- plugin: proxyquire-universal
- transform: brfs
- options:
extensions: .js, .json
License
MIT
1.0.0
9 years ago