Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Add detailed JSDoc to ManifestByEntry and ManifestData types to clarify the purpose and structure of each property.

Checklist

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

Copilot AI review requested due to automatic review settings November 23, 2025 08:43
@netlify
Copy link

netlify bot commented Nov 23, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit a12d14b
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6922c9317e4bed0008f1622d
😎 Deploy Preview https://deploy-preview-6632--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 72 (🟢 up 8 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

@chenjiahan chenjiahan merged commit 9da4e89 into main Nov 23, 2025
16 checks passed
@chenjiahan chenjiahan deleted the manifest_types_1123 branch November 23, 2025 08:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive JSDoc documentation to the ManifestByEntry and ManifestData TypeScript types to improve code clarity and developer experience.

Key Changes

  • Detailed JSDoc comments added to all properties in ManifestByEntry and ManifestData types
  • Moved allFiles property before entries in both type definitions and documentation for better logical ordering
  • Updated both English and Chinese documentation to match the enhanced type definitions

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/core/src/types/config.ts Added JSDoc comments to ManifestByEntry and ManifestData types, reordered properties for clarity
website/docs/en/config/output/manifest.mdx Updated English documentation to reflect enhanced type definitions with detailed comments
website/docs/zh/config/output/manifest.mdx Updated Chinese documentation to reflect enhanced type definitions with detailed comments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

/** other assets (e.g., png, svg, source map) related to the current entry */
/**
* Additional assets associated with this entry.
* For example images、fonts、source maps and other non JS or CSS files.
Copy link

Copilot AI Nov 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comma after "images" in the list. The text should be "For example images, fonts, source maps and other non JS or CSS files." with proper punctuation.

Suggested change
* For example imagesfontssource maps and other non JS or CSS files.
* For example images, fonts, source maps and other non JS or CSS files.

Copilot uses AI. Check for mistakes.
html?: string[];
/**
* Additional assets associated with this entry.
* For example images、fonts、source maps and other non JS or CSS files.
Copy link

Copilot AI Nov 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comma after "images" in the list. The text should be "For example images, fonts, source maps and other non JS or CSS files." with proper punctuation.

Suggested change
* For example imagesfontssource maps and other non JS or CSS files.
* For example, images, fonts, source maps and other non JS or CSS files.

Copilot uses AI. Check for mistakes.
@chenjiahan chenjiahan mentioned this pull request Nov 24, 2025
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