Skip to content

Commit 9e6c82e

Browse files
committed
Updating readme to use explicit long plugin name
To avoid conflicts with npm `require` module Inspired by speedskater#5
1 parent 78371f3 commit 9e6c82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ require("babel").transform("code", { plugins: ["rewire"] });
6262
with `webpack` use the following loader:
6363

6464
```javascript
65-
{test: /src\/js\/.+\.js$/, loader: 'babel-loader?plugins=rewire' }
65+
{test: /src\/js\/.+\.js$/, loader: 'babel-loader?plugins=babel-plugin-rewire' }
6666
```
6767

6868
## Release History

0 commit comments

Comments
 (0)