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

Skip to content

Commit df5285a

Browse files
committed
Merge pull request jhnns#17 from sokra/patch-1
Include link to rewire-webpack in readme
2 parents ffc383f + 0606b0a commit df5285a

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -154,23 +154,10 @@ b.use(require("rewire").bundlers.browserify);
154154

155155
###webpack
156156

157-
rewire doesn't run with [email protected] because of various breaking api changes. I'm [working on that](https://github.com/jhnns/rewire/issues/10).
158-
159-
```javascript
160-
var webpackOptions = {
161-
output: "bundle.js"
162-
};
163-
164-
// This function modifies the webpack options object.
165-
// It adds a postLoader and postProcessor to the bundling process.
166-
// @see https://github.com/webpack/webpack#programmatically-usage
167-
require("rewire").bundlers.webpack(webpackOptions);
168-
169-
webpack("entry.js", webpackOptions, function () {});
170-
```
157+
see [rewire-webpack](https://github.com/jhnns/rewire-webpack)
171158

172159
<br />
173160

174161
##License
175162

176-
MIT
163+
MIT

0 commit comments

Comments
 (0)