Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新Nextjs配置,更新服务端组件的声明 #1570

Merged
merged 1 commit into from
May 23, 2024

Conversation

RandyZ
Copy link
Contributor

@RandyZ RandyZ commented May 22, 2024

更新Nextjs配置,更新服务端组件的声明

Copy link

cla-assistant bot commented May 22, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


randy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

sweep-ai bot commented May 22, 2024

Sweep: PR Review

projects/app/next.config.js

Replaced optimizePackageImports with serverComponentsExternalPackages to optimize server component handling and updated the corresponding comment.

Sweep Found These Issues

  • The change from optimizePackageImports to serverComponentsExternalPackages may lead to unexpected behavior if the application relies on the previous optimization strategy for client-side imports.
  • // 优化 Server Components 的构建和运行,避免不必要的客户端打包。
    serverComponentsExternalPackages: ['mongoose', 'pg'],

    View Diff


@c121914yu c121914yu merged commit 4eb2c9b into labring:main May 23, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants