File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ rewire does **not** load the file and eval the contents to emulate node's requir
1212
1313** Debugging is fully supported.**
1414
15- Furthermore rewire comes also with support for [ browserify] ( https://github.com/substack/node-browserify ) .
15+ Furthermore rewire comes also with support for [ browserify] ( https://github.com/substack/node-browserify ) . You just
16+ have to add rewire as a middleware (see below).
1617
1718[ ![ Build Status] ( https://secure.travis-ci.org/jhnns/rewire.png?branch=master )] ( http://travis-ci.org/jhnns/rewire )
1819
@@ -35,6 +36,8 @@ var b = require("browserify")({debug: true});
3536b .use (require (" rewire" ).browserify );
3637```
3738
39+ After that rewire works exactly as in node.
40+
3841<br />
3942
4043Examples
You can’t perform that action at this time.
0 commit comments