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: validate entry correctness in bundle mode #659

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

fi3ework
Copy link
Member

@fi3ework fi3ework commented Jan 7, 2025

Summary

Previously, if the entry is pointing to a non-existed file in bundle mode, it will throw an error that hints Glob pattern ... which is wrong.

In this PR improved the validating of entry, which could determine non-existing file entry and misuse dir entry in bundle mode.

Related Links

Checklist

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

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 2bd70f3
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/677d08d13901150008c046fd
😎 Deploy Preview https://deploy-preview-659--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.

@Timeless0911 Timeless0911 enabled auto-merge (squash) January 7, 2025 11:43
@Timeless0911 Timeless0911 merged commit 85b7d06 into main Jan 7, 2025
16 checks passed
@Timeless0911 Timeless0911 deleted the bundle-entry branch January 7, 2025 11:45
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.

2 participants