Skip to content

Commit

Permalink
build(plugins): remove no used plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
vagnerclementino-hotmart committed Oct 15, 2023
1 parent caa7b66 commit 2a1a9ff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 711 deletions.
64 changes: 0 additions & 64 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ module.exports = {
})),
},
},
`gatsby-plugin-feed-mdx`,
`gatsby-plugin-root-import`,
{
resolve: `gatsby-source-filesystem`,
Expand Down Expand Up @@ -126,14 +125,6 @@ module.exports = {
plugins: [`gatsby-remark-images`, `gatsby-remark-footnotes`],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// edit below
trackingId: `UA-183067713-1`,
cookieFlags: "SameSite=None; Secure",
},
},
{
resolve: `gatsby-plugin-typography`,
options: {
Expand All @@ -154,61 +145,6 @@ module.exports = {
force: process.env.NODE_ENV === "development",
},
},
{
resolve: `gatsby-plugin-feed`,
options: {
query: `
{
site {
siteMetadata {
title
description
siteUrl
site_url: siteUrl
}
}
}
`,
feeds: [
{
serialize: ({ query: { site, allMdx } }) => {
return allMdx.nodes
.filter(node => true === node.frontmatter.released || true)
.map(node => {
return Object.assign({}, node.frontmatter, {
description: node.frontmatter.description,
date: node.frontmatter.date,
url: `${site.siteMetadata.siteUrl}/blog${node.fields.slug}`,
guid: `${site.siteMetadata.siteUrl}/blog${node.fields.slug}`,
})
})
},
query: `
{
allMdx(
sort: { order: DESC, fields: [frontmatter___date] },
) {
nodes {
excerpt
fields {
slug
}
frontmatter {
title
date
description
released
}
}
}
}
`,
output: "/rss.xml",
title: "Clementino Notes' RSS Feed",
},
],
},
},
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-image`,
Expand Down
Loading

0 comments on commit 2a1a9ff

Please sign in to comment.