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:
parent
411099a7ed
commit
06a9ca5f4b
@ -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') {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user