Skip to content

Commit c09678c

Browse files
committed
Change the env plugin
1 parent 4eaf139 commit c09678c

File tree

5 files changed

+22
-2898
lines changed

5 files changed

+22
-2898
lines changed

docusaurus.config.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,7 @@ const config = {
8484
plugins: [
8585
'docusaurus-plugin-sass',
8686
'./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+
'./src/plugins/env-variables-plugin',
9888
[
9989
'@docusaurus/plugin-content-docs',
10090
{

0 commit comments

Comments
 (0)