You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix prism-react-renderer imports with fallback handling
- Move prism theme imports directly into docusaurus.config.js
- Add try-catch for robust error handling
- Remove dependency on separate theme files to avoid import issues
- Ensure compatibility across different environments and Node.js versions
This resolves the 'Cannot find module prism-react-renderer/themes/github/index.cjs.js' error
that was occurring in CI builds.
0 commit comments