1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-01 20:39:55 +01:00

downgrade gatsby-plugin-sharp

This commit is contained in:
Matthias Kretschmann 2019-11-16 13:31:10 +01:00
parent 411099a7ed
commit 06a9ca5f4b
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 6 deletions

View File

@ -8,11 +8,6 @@ const {
} = require('./gatsby/createPages')
const { generateJsonFeed } = require('./gatsby/feeds')
// https://github.com/gatsbyjs/gatsby/issues/6291#issuecomment-505097465
const sharp = require('sharp')
sharp.simd(false)
sharp.cache(false)
exports.onCreateNode = ({ node, actions, getNode, createNodeId }) => {
// Markdown files
if (node.internal.type === 'MarkdownRemark') {

View File

@ -46,7 +46,7 @@
"gatsby-plugin-offline": "^3.0.21",
"gatsby-plugin-react-helmet": "^3.1.15",
"gatsby-plugin-sass": "^2.1.23",
"gatsby-plugin-sharp": "^2.3.0",
"gatsby-plugin-sharp": "2.2.39",
"gatsby-plugin-sitemap": "^2.2.21",
"gatsby-plugin-svgr": "^2.0.2",
"gatsby-plugin-typescript": "^2.1.18",