From bd330b09ea14139ea74d243fb3384143422f7867 Mon Sep 17 00:00:00 2001 From: Bryan Robinson Date: Wed, 14 Dec 2022 13:03:58 -0500 Subject: [PATCH] Fix concurrency issue and update node engine (#45) --- gatsby-config.js | 3 ++- package.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 65eb141d..1a572dc8 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -11,7 +11,7 @@ module.exports = { 'gatsby-plugin-mdx', { resolve: 'gatsby-plugin-react-svg', - ptions: { + options: { rule: { include: /svg/, }, @@ -28,6 +28,7 @@ module.exports = { buildMarkdownNodes: true, downloadLocalImages: true, fragmentsPath: 'hygraph-fragments', + queryConcurrency: 1 }, }, 'gatsby-transformer-sharp', diff --git a/package.json b/package.json index e831c814..a617181c 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,9 @@ "clean": "gatsby clean", "dev": "gatsby develop" }, + "engines": { + "node": "~16" + }, "dependencies": { "@mdx-js/mdx": "1.6.18", "@mdx-js/react": "1.6.18",