Skip to content

fix(core): resolve classic preset module resolution error during locale build#1

Open
1genierock wants to merge 1 commit into
mainfrom
1genierock-patch-1
Open

fix(core): resolve classic preset module resolution error during locale build#1
1genierock wants to merge 1 commit into
mainfrom
1genierock-patch-1

Conversation

@1genierock

Copy link
Copy Markdown
Owner

This PR fixes a fatal build exception during the localized static site generation step. The bundler occasionally fails to resolve the shorthand 'classic' preset name inside monorepo isolation contexts. Adding an explicit fallback resolution using the passed moduleRequire instance prevents the build process from crashing.

Refactor error handling for module resolution in Docusaurus.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant