From 50162b8726641248802bfa43d4d63ca26f8efd09 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 1 Oct 2020 22:27:45 +0200 Subject: [PATCH] Try to work around Sharp build issue [ci skip] --- website/gatsby-config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/gatsby-config.js b/website/gatsby-config.js index c1a2f9ab9..4650711ac 100644 --- a/website/gatsby-config.js +++ b/website/gatsby-config.js @@ -1,6 +1,11 @@ const autoprefixer = require('autoprefixer') const path = require('path') +// https://florian.ec/blog/gatsby-build-netlify-segmentation-fault/ +const sharp = require('sharp') +sharp.cache(false) +sharp.simd(false) + // Markdown plugins const wrapSectionPlugin = require('./src/plugins/remark-wrap-section.js') const customAttrsPlugin = require('./src/plugins/remark-custom-attrs.js')