Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ewald <mail@johannesewald.de>2013-02-05 02:01:18 +0400
committerJohannes Ewald <mail@johannesewald.de>2013-02-05 02:01:18 +0400
commit9e5401917a1b59b5fe8bdc568a496e4a4c445331 (patch)
treef5abc22a8c01a81a44b901de90f22cd2e662c08e /README.md
parentdb140b9eb9125046ac9e740f8e050b961526db8b (diff)
Added note on webpack 0.9
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index fd409e8..eb399e1 100644
--- a/README.md
+++ b/README.md
@@ -111,10 +111,10 @@ Returns the private variable.
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:
- [browserify](https://github.com/substack/node-browserify)
-- [webpack](https://github.com/webpack/webpack)
+- [webpack](https://github.com/webpack/webpack) < 0.9.x
**Please note:** Unfortunately the line numbers in stack traces have an offset of +2 (browserify) / +1 (webpack).
-This is caused by generated code that is added during the bundling process. I'm working on that ... :)
+This is caused by generated code that is added during the bundling process.
###browserify
@@ -132,6 +132,8 @@ bundleSrc = b.bundle();
###webpack
+rewire doesn't run with webpack 0.9 because of various breaking api changes. I'm working on that.
+
```javascript
var webpackOptions = {
output: "bundle.js"