From 9e5401917a1b59b5fe8bdc568a496e4a4c445331 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Mon, 4 Feb 2013 23:01:18 +0100 Subject: Added note on webpack 0.9 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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" -- cgit v1.2.3