Skip to content

Commit 5d5b0b7

Browse files
committed
Update example in README.md
1 parent 6fb1cad commit 5d5b0b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
// and not any of the source files in your project:
2323
{
2424
test: /node_modules/,
25-
loader: 'ify'
25+
loader: 'ify-loader'
2626
}
2727
]
2828
}
@@ -36,11 +36,12 @@ Note that you're also free to apply this loader to files in your own project. In
3636
``` javascript
3737
module.exports = {
3838
module: {
39-
postLoaders: [
39+
loaders: [
4040
// support local package.json browserify config
4141
{
4242
test: /\.js$/,
43-
loader: 'ify'
43+
loader: 'ify-loader',
44+
enforce: 'post'
4445
}
4546
]
4647
}

0 commit comments

Comments
 (0)