Try to work around Sharp build issue [ci skip]

This commit is contained in:
Ines Montani 2020-10-01 22:27:45 +02:00
parent 5762876dcc
commit 50162b8726
1 changed files with 5 additions and 0 deletions

View File

@ -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')