From 8a0cadfa2af1876ad8d4d6e30e155f695431c53c Mon Sep 17 00:00:00 2001 From: Daniel Soares Date: Tue, 15 Dec 2020 11:32:59 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20Simplifies=20g?= =?UTF-8?q?atsby-config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gatsby-config.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 873bdc7..c5a63b9 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,16 +1 @@ -const fs = require('fs') -const yaml = require('js-yaml') -const metadata = yaml.safeLoad( - fs.readFileSync('./content/metadata.yaml', 'utf8') -) - -module.exports = { - plugins: [ - { - resolve: `@marscollective/gatsby-theme-link-free`, - options: { - metadata - } - } - ] -} +module.exports = { plugins: [`@marscollective/gatsby-theme-link-free`] }