@@ -84,6 +84,17 @@ const config = {
84
84
plugins : [
85
85
'docusaurus-plugin-sass' ,
86
86
'./src/plugins/mm-scss-utils' ,
87
+ [
88
+ "docusaurus2-dotenv" ,
89
+ {
90
+ path : "./.env" , // The path to your environment variables.
91
+ safe : false , // If false ignore safe-mode, if true load './.env.example', if a string load that file as the sample
92
+ systemvars : false , // Set to true if you would rather load all system variables as well (useful for CI purposes)
93
+ silent : false , // If true, all warnings will be suppressed
94
+ expand : false , // Allows your variables to be "expanded" for reusability within your .env file
95
+ defaults : false , // Adds support for dotenv-defaults. If set to true, uses ./.env.defaults
96
+ } ,
97
+ ] ,
87
98
[
88
99
'@docusaurus/plugin-content-docs' ,
89
100
{
@@ -168,13 +179,13 @@ const config = {
168
179
'./src/plugins/plugin-json-rpc.ts' ,
169
180
isProd
170
181
? [
171
- 'docusaurus-plugin-segment' ,
172
- {
173
- apiKey : process . env . SEGMENT_ANALYTICS_KEY ,
174
- load : { cookie : { sameSite : 'None' , secure : true } } ,
175
- page : true ,
176
- } ,
177
- ]
182
+ 'docusaurus-plugin-segment' ,
183
+ {
184
+ apiKey : process . env . SEGMENT_ANALYTICS_KEY ,
185
+ load : { cookie : { sameSite : 'None' , secure : true } } ,
186
+ page : true ,
187
+ } ,
188
+ ]
178
189
: null ,
179
190
'./src/plugins/launchdarkly' ,
180
191
'./src/plugins/sentry' ,
0 commit comments