Skip to content

Commit 2aef1f9

Browse files
committed
Update gatsby-config.js
1 parent 9d18c7b commit 2aef1f9

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

gatsby-config.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ module.exports = {
1616
"gatsby-plugin-postcss",
1717
"gatsby-plugin-sass",
1818
"gatsby-plugin-image",
19-
"gatsby-transformer-remark",
2019
"gatsby-plugin-sharp",
2120
"gatsby-transformer-sharp",
2221
'gatsby-plugin-react-helmet',
22+
{
23+
resolve: 'gatsby-plugin-env-variables',
24+
options: {
25+
allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_API_KEY', "TYPESENSE_SEARCH_API_KEY", "TYPESENSE_COLLECTION"],
26+
},
27+
},
2328
{
2429
resolve: `gatsby-plugin-s3`,
2530
options: {
@@ -104,12 +109,6 @@ module.exports = {
104109
},
105110
},
106111
},
107-
{
108-
resolve: 'gatsby-plugin-env-variables',
109-
options: {
110-
allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_API_KEY', "TYPESENSE_SEARCH_API_KEY", "TYPESENSE_COLLECTION"],
111-
},
112-
}
113112
],
114113
},
115114
}

0 commit comments

Comments
 (0)