Skip to content

docs: add guide for get compilation object #10501

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

chenjiahan
Copy link
Member

Summary

  • Added explanations and examples for using compiler.hooks.thisCompilation and compiler.hooks.compilation to access the compilation object
  • Update rspress.config.ts to use resolve.alias instead of the deprecated source.alias config.

Checklist

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

Copy link

netlify bot commented May 28, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 06ba601
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/6836dc5dff5efc0008a9ae1d
😎 Deploy Preview https://deploy-preview-10501--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 project configuration.

@chenjiahan chenjiahan requested a review from LingyuCoder May 28, 2025 09:50
@github-actions github-actions bot added release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack. labels May 28, 2025
@chenjiahan chenjiahan merged commit 35f1126 into main May 28, 2025
27 checks passed
@chenjiahan chenjiahan deleted the compilation_object_doc_0528 branch May 28, 2025 14:17
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