Skip to content

Commit f9a3ccd

Browse files
html5catKyleAMathews
authored andcommitted
Update README.md (#3822)
add module.exports to How to use
1 parent 014bda5 commit f9a3ccd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/gatsby-transformer-sharp/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ including resizing, cropping, and creating responsive images.
1616

1717
```javascript
1818
// In your gatsby-config.js
19-
plugins: [`gatsby-transformer-sharp`];
19+
module.exports = {
20+
plugins: [`gatsby-transformer-sharp`]
21+
}
2022
```
2123

2224
## Parsing algorithm

0 commit comments

Comments
 (0)