fix(angular_example): updating the example to include now working options #3302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Several hooks needed for Angular have been added. This PR updates the example that we have to leverage the now available hooks / added compatibility.
Related issue (if exists)
Related to #3158
Summary
As contributors are making updates we need to keep the examples up to date to reflect current reality.
🤖 Generated by Copilot at 354e2e9
This file updates the rspack configuration for the Angular example to enhance the webpack bundling and caching process. It applies a plugin to avoid module duplication, adjusts the output settings for speed and uniqueness, and fine-tunes the async cache group enforcement.
Walkthrough
🤖 Generated by Copilot at 354e2e9
DedupeModuleResolvePlugin
to avoid duplicate modules and improve bundle performance and size (link, link)output
configuration to use faster hashing, avoid name conflicts, and specify output directory (link)defaultAsync
cache group to optimize async loading and reduce initial bundle size (link)