Skip to content

Commit

Permalink
docs: fix incorrect syntax in README's sample (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tran Van Sang authored Nov 14, 2020
1 parent db5cafd commit 4205152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ By default, `@svgr/webpack` includes a `babel-loader` with [an optimized configu
It is possible to detect the module that requires your SVG using [`Rule.issuer`](https://webpack.js.org/configuration/module/#rule-issuer) in Webpack. Using it you can specify two different configurations for JavaScript and the rest of your files.

```js
{
[
{
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
issuer: {
Expand All @@ -115,7 +115,7 @@ It is possible to detect the module that requires your SVG using [`Rule.issuer`]
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
loader: 'url-loader'
},
}
]
```

## License
Expand Down

0 comments on commit 4205152

Please sign in to comment.