Skip to content

docs: add layer examples and correct types#8202

Merged
chenjiahan merged 1 commit intomainfrom
rule_documentation_1023
Oct 23, 2024
Merged

docs: add layer examples and correct types#8202
chenjiahan merged 1 commit intomainfrom
rule_documentation_1023

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Add some examples for configuring rule.layer and rule.issuerLayer.
  • Correct some types.

Checklist

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

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Oct 23, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Oct 23, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 9cf30ef
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67186c7a676ad10008534718
😎 Deploy Preview https://deploy-preview-8202--rspack.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.

defaultValueList={[{ defaultValue: 'undefined' }]}
/>

The layer of this entry, make the corresponding configuration take effect through layer matching in SplitChunks, Rules, Stats, and Externals.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@ahabhgk Does Rspack support layers in split chunks and stats now?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Support

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Get, I will submit another PR to improve the documentation for split chunks and stats.

@chenjiahan chenjiahan requested a review from ahabhgk October 23, 2024 03:25
@chenjiahan chenjiahan merged commit 1f50502 into main Oct 23, 2024
@chenjiahan chenjiahan deleted the rule_documentation_1023 branch October 23, 2024 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants