Skip to content

Commit a5db230

Browse files
committed
Revert "remove sharp plugin"
This reverts commit bbbb13d.
1 parent dd58ede commit a5db230

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

gatsby-config.js

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ module.exports = {
9090
],
9191
},
9292
},
93+
'gatsby-transformer-sharp',
94+
'gatsby-plugin-sharp',
9395
{
9496
resolve: 'gatsby-plugin-google-analytics',
9597
options: {

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"gatsby-plugin-nprogress": "^1.0.7",
3737
"gatsby-plugin-react-helmet": "^1.0.3",
3838
"gatsby-plugin-react-next": "^1.0.3",
39+
"gatsby-plugin-sharp": "^1.6.2",
3940
"gatsby-plugin-twitter": "^1.0.10",
4041
"gatsby-remark-autolink-headers": "^1.4.4",
4142
"gatsby-remark-code-repls": "^1.0.2",
@@ -47,6 +48,7 @@
4748
"gatsby-remark-smartypants": "^1.4.3",
4849
"gatsby-source-filesystem": "^1.4.4",
4950
"gatsby-transformer-remark": "^1.7.2",
51+
"gatsby-transformer-sharp": "^1.6.1",
5052
"glamor": "^2.20.40",
5153
"hex2rgba": "^0.0.1",
5254
"prettier": "^1.7.4",

yarn.lock

+11-2
Original file line numberDiff line numberDiff line change
@@ -4112,7 +4112,7 @@ gatsby-plugin-react-next@^1.0.3:
41124112
react "^16.0.0"
41134113
react-dom "^16.0.0"
41144114

4115-
gatsby-plugin-sharp@^1.6.24:
4115+
gatsby-plugin-sharp@^1.6.2, gatsby-plugin-sharp@^1.6.24:
41164116
version "1.6.24"
41174117
resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.24.tgz#f885a384b222f655534e45788a99863a038bf107"
41184118
dependencies:
@@ -4264,6 +4264,15 @@ gatsby-transformer-remark@^1.7.2:
42644264
unist-util-select "^1.5.0"
42654265
unist-util-visit "^1.1.1"
42664266

4267+
gatsby-transformer-sharp@^1.6.1:
4268+
version "1.6.16"
4269+
resolved "https://registry.yarnpkg.com/gatsby-transformer-sharp/-/gatsby-transformer-sharp-1.6.16.tgz#16464dcfbb2099f49805b2e244da0b3fea63b88e"
4270+
dependencies:
4271+
babel-runtime "^6.26.0"
4272+
bluebird "^3.5.0"
4273+
fs-extra "^4.0.2"
4274+
image-size "^0.6.0"
4275+
42674276
gatsby@^1.9.181:
42684277
version "1.9.181"
42694278
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.181.tgz#d3507d191fde19c0907113109db44dcc22380447"
@@ -5102,7 +5111,7 @@ image-size@^0.5.1:
51025111
version "0.5.5"
51035112
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c"
51045113

5105-
image-size@^0.6.1:
5114+
image-size@^0.6.0, image-size@^0.6.1:
51065115
version "0.6.1"
51075116
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.6.1.tgz#98122a562d59dcc097ef1b2c8191866eb8f5d663"
51085117

0 commit comments

Comments
 (0)