Skip to content

Commit a7e4a8c

Browse files
authored
Merge pull request #22 from colevoss/v2-readme-update
Update readme to fit webpack v2
2 parents a8ffce7 + 74ce274 commit a7e4a8c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ Extracts SourceMaps for source files that as added as `sourceMappingURL` comment
44

55
## Usage
66

7-
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
7+
[Documentation: Using loaders](https://webpack.js.org/concepts/#loaders)
88

99

10-
### example webpack config
10+
### Example webpack config
1111

1212
``` javascript
1313
module.exports = {
1414
module: {
15-
preLoaders: [
15+
rules: [
1616
{
1717
test: /\.js$/,
18-
loader: "source-map-loader"
18+
use: ["source-map-loader"],
19+
enforce: "pre"
1920
}
2021
]
2122
}

0 commit comments

Comments
 (0)