Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri authored Jun 29, 2024
1 parent bc62c60 commit 5279254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-redoc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export default function redocTheme(
process.versions.node || '0.0.0',
),
'process.platform': JSON.stringify(''),
// IMPORTANT: To fix debug library‘s bug
// IMPORTANT: To fix debug library‘s bug #236
// {}.DEBUG = namespaces; // SyntaxError: Unexpected token '.'
'process.env.DEBUG': 'process.env.DEBUG',
'process.env.DEBUG': JSON.stringify(process.env.DEBUG),
'process.env': JSON.stringify({}),
}),
...(isServer
Expand Down

0 comments on commit 5279254

Please sign in to comment.