diff --git a/docusaurus.config.js b/docusaurus.config.js index d8d0b767..1c56197c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -5,9 +5,8 @@ const lightCodeTheme = require("prism-react-renderer/themes/github"); const darkCodeTheme = require("prism-react-renderer/themes/dracula"); const math = require("remark-math"); const katex = require("rehype-katex"); -const config = require("dotenv/config"); -config(); +require("dotenv").config(); /** @type {import('@docusaurus/types').Config} */ const config = {