Skip to content

fix: the moduleIds should be deterministic if the env is production and format is mf #487

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

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

2heal1
Copy link
Member

@2heal1 2heal1 commented Nov 28, 2024

Summary

When format is mf , and env is production , the moduleIds should be deterministic for better cache and smaller size.

And the named moduleIds may cause domain name leaked if the build env path has sensitive infomation

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit fce3871
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/67481a4cb70acb0008f08bfb
😎 Deploy Preview https://deploy-preview-487--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nyqykk
Copy link
Member

nyqykk commented Nov 28, 2024

Can we add this configuration here instead of another tools function?

Copy link

codspeed-hq bot commented Nov 28, 2024

CodSpeed Performance Report

Merging #487 will not alter performance

Comparing fix/mf-module-ids (fce3871) with main (da8191a)

Summary

✅ 5 untouched benchmarks

Timeless0911
Timeless0911 previously approved these changes Nov 28, 2024
@nyqykk nyqykk enabled auto-merge (squash) November 28, 2024 07:31
@nyqykk nyqykk merged commit f96adda into main Nov 28, 2024
18 checks passed
@nyqykk nyqykk deleted the fix/mf-module-ids branch November 28, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants