From b443c61ab73679410f083e383be7aef3039d228f Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 3 Jul 2012 03:18:17 +0200 Subject: updated readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index adaad18..2baca44 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ rewire does **not** load the file and eval the contents to emulate node's requir **Debugging is fully supported.** -Furthermore rewire comes also with support for [browserify](https://github.com/substack/node-browserify). +Furthermore rewire comes also with support for [browserify](https://github.com/substack/node-browserify). You just +have to add rewire as a middleware (see below). [![Build Status](https://secure.travis-ci.org/jhnns/rewire.png?branch=master)](http://travis-ci.org/jhnns/rewire) @@ -35,6 +36,8 @@ var b = require("browserify")({debug: true}); b.use(require("rewire").browserify); ``` +After that rewire works exactly as in node. +
Examples -- cgit v1.2.3