Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e54019

Browse files
committed
Added note on webpack 0.9
1 parent db140b9 commit 9e54019

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ Returns the private variable.
111111
Since rewire relies heavily on node's require mechanism it can't be used on the client-side without adding special middleware to the bundling process. Currently supported bundlers are:
112112

113113
- [browserify](https://github.com/substack/node-browserify)
114-
- [webpack](https://github.com/webpack/webpack)
114+
- [webpack](https://github.com/webpack/webpack) < 0.9.x
115115

116116
**Please note:** Unfortunately the line numbers in stack traces have an offset of +2 (browserify) / +1 (webpack).
117-
This is caused by generated code that is added during the bundling process. I'm working on that ... :)
117+
This is caused by generated code that is added during the bundling process.
118118

119119
###browserify
120120

@@ -132,6 +132,8 @@ bundleSrc = b.bundle();
132132

133133
###webpack
134134

135+
rewire doesn't run with webpack 0.9 because of various breaking api changes. I'm working on that.
136+
135137
```javascript
136138
var webpackOptions = {
137139
output: "bundle.js"

0 commit comments

Comments
 (0)