Skip to content

Conversation

@Timeless0911
Copy link
Contributor

Summary

twoslash cache false to avoid build error

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 19, 2025 08:14
@Timeless0911 Timeless0911 enabled auto-merge (squash) November 19, 2025 08:14
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 1ec4286
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/691d805fa7b66c0008b78d7a
😎 Deploy Preview https://deploy-preview-1350--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.

Copilot finished reviewing on behalf of Timeless0911 November 19, 2025 08:16
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 disables the twoslash cache in the documentation build configuration to avoid build errors. It also standardizes code block formatting by converting single quotes to double quotes in title attributes and adding the twoslash annotation to TypeScript code blocks in the module federation documentation.

  • Disables twoslash caching in rspress configuration to prevent build errors
  • Adds twoslash annotation to code blocks for better type checking and IntelliSense in documentation
  • Standardizes quote style from single to double quotes in code block title attributes

Reviewed Changes

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

File Description
website/rspress.config.ts Adds cache: false option to pluginTwoslash() configuration to prevent caching-related build errors
website/docs/zh/guide/advanced/module-federation.mdx Updates code block formatting: changes quote style to double quotes and adds twoslash annotation; also fixes line wrapping for better readability
website/docs/en/guide/advanced/module-federation.mdx Updates code block formatting: changes quote style to double quotes and adds twoslash annotation

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

@Timeless0911 Timeless0911 merged commit ec39bb2 into main Nov 19, 2025
25 of 26 checks passed
@Timeless0911 Timeless0911 deleted the slash-cache-false branch November 19, 2025 11:51
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