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

fix(ai): 启用serverMinification,使用--no-mangling #1218

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

ddadaal
Copy link
Member

@ddadaal ddadaal commented Apr 21, 2024

启用AI项目的服务器端代码优化serverMinification,只使用--no-manglingswcMinify: false来关闭name mangling以解决这个问题。理论上来说应该只要--no-mangling就行,但是应该还是next的bug ( vercel/next.js#50208 ),必须还要同时设置swcMinify: false才可以。

Copy link

changeset-bot bot commented Apr 21, 2024

🦋 Changeset detected

Latest commit: c0ed59b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@scow/ai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkuhpc-review-bot pkuhpc-review-bot bot added the Code-ReviewRequested Code Review Requested label Apr 21, 2024
@ddadaal ddadaal requested a review from tongchong April 21, 2024 10:05
@ddadaal ddadaal merged commit a4d36e2 into master Apr 23, 2024
8 checks passed
@ddadaal ddadaal deleted the ai-only-disable-mangling branch April 23, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code-ReviewRequested Code Review Requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants