add segment for API reference

This commit is contained in:
Shahed Nasser
2022-06-16 15:57:15 +03:00
parent 8a3e4ba355
commit 1af5a83e19
3 changed files with 15 additions and 1 deletions
+9 -1
View File
@@ -71,7 +71,15 @@ module.exports = {
options: {
output: '/api/sitemap'
}
}
},
{
resolve: `gatsby-plugin-segment-js`,
options: {
prodKey: process.env.SEGMENT_API_KEY,
devKey: process.env.SEGMENT_API_KEY_DEV,
trackPage: true,
}
},
// `gatsby-plugin-preact`,
// {
// resolve: `gatsby-source-openapi-aggregate`,
+1
View File
@@ -29,6 +29,7 @@
"gatsby-plugin-preact": "^5.9.0",
"gatsby-plugin-react-helmet": "^3.3.12",
"gatsby-plugin-sitemap": "^5.15.0",
"gatsby-plugin-segment-js": "^3.7.1",
"gatsby-plugin-theme-ui": "^0.10.1",
"gatsby-remark-autolink-headers": "^4.6.0",
"gatsby-source-filesystem": "^3.9.0",
+5
View File
@@ -5452,6 +5452,11 @@ gatsby-plugin-sitemap@^5.15.0:
minimatch "^3.1.2"
sitemap "^7.0.0"
gatsby-plugin-segment-js@^3.7.1:
version "3.7.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-segment-js/-/gatsby-plugin-segment-js-3.7.1.tgz#3432d59be0e45ee82f36a42cff060af220a0dd68"
integrity sha512-zAsjRrF77Kih7YRUJVp84thnODbzjDE44H6ePtdQfLVyPWiJj3IpS/WAwyRg9Cu3+FciFAT8WEjfJ2I02V0sUw==
gatsby-plugin-theme-ui@^0.10.1:
version "0.10.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-theme-ui/-/gatsby-plugin-theme-ui-0.10.1.tgz#d1ac7f4f1c4bf187694110a8670f0bb3ff470ad2"