diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index cfd803ae08..49b05b75f5 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -1,8 +1,8 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -const lightCodeTheme = require("prism-react-renderer/themes/github"); -const darkCodeTheme = require("prism-react-renderer/themes/vsDark"); +const lightCodeTheme = require("prism-react-renderer").themes.github; +const darkCodeTheme = require("prism-react-renderer").themes.vsDark; /** @type {import('@docusaurus/types').Config} */ const config = {