Skip to content

Conversation

@Timeless0911
Copy link
Contributor

Summary

This pull request updates the static assets documentation to provide clearer and more practical examples for configuring output filenames and distPath in rslib.config.ts.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 12, 2025 08:00
Copilot finished reviewing on behalf of Timeless0911 November 12, 2025 08:02
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 pull request enhances the static assets documentation by adding practical code examples for configuring output filenames and distPath in rslib.config.ts, making it easier for developers to understand how to customize their build output structure.

  • Added comprehensive examples for output.filename configuration with hash values
  • Added comprehensive examples for output.distPath configuration to customize output directories
  • Updated both English and Chinese documentation with identical examples for consistency

Reviewed Changes

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

File Description
website/docs/en/guide/advanced/static-assets.mdx Added practical examples showing how to configure output filenames with content hashes and how to customize output directory paths for static assets
website/docs/zh/guide/advanced/static-assets.mdx Added Chinese translations of the same examples for filename and distPath configuration to maintain documentation parity

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

@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 92e6e83
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/69143e95bee7eb0008064b67
😎 Deploy Preview https://deploy-preview-1332--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 project configuration.

@fi3ework fi3ework merged commit fe25fb3 into main Nov 13, 2025
23 checks passed
@fi3ework fi3ework deleted the asset-output branch November 13, 2025 02:58
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