-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dashboard] Fix: Memory optimizations to reduce build failures (#5903)
See https://nextjs.org/docs/app/building-your-application/optimizing/memory-usage#disable-webpack-cache <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces optimizations to the webpack configuration and modifies several components to improve performance and fix TypeScript errors. ### Detailed summary - Added `webpackMemoryOptimizations` to `experimental` in `next.config.ts`. - Simplified `webpack` function by removing `dev` parameter. - Changed cache type to `memory` in `next.config.ts`. - Updated `abi-selector.tsx` to remove TypeScript error comments. - Enhanced `ApplyForOpCreditsForm.tsx` by streamlining `onChange` handling. - Modified `MarkdownRenderer` to handle optional `href` and added TypeScript error comments for future fixes. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
1 parent
c06ecda
commit ddb6af1
Showing
4 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters