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
12
12
13
13
** Debugging is fully supported.**
14
14
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).
16
17
17
18
[ ![ Build Status] ( https://secure.travis-ci.org/jhnns/rewire.png?branch=master )] ( http://travis-ci.org/jhnns/rewire )
18
19
@@ -35,6 +36,8 @@ var b = require("browserify")({debug: true});
35
36
b .use (require (" rewire" ).browserify );
36
37
```
37
38
39
+ After that rewire works exactly as in node.
40
+
38
41
<br />
39
42
40
43
Examples
You can’t perform that action at this time.
0 commit comments