Skip to content

Conversation

@timkindberg
Copy link

This will write all bundles that contain the bundle_name. This adds support for when splitChunks is enabled, it emits many files. For example here are the chunks from two entry points, settings_rate_cards and settings_regions:

settings_rate_cards settings_rate_cards~settings_regions settings_regions vendors~settings_rate_cards vendors~settings_rate_cards~settings_regions vendors~settings_regions 

So if I visit the page the calls render_bundle('settings_rate_cards') it will add the following bundles to the page as scripts because they all contain the string "settings_rate_cards":

settings_rate_cards settings_rate_cards~settings_regions vendors~settings_rate_cards vendors~settings_rate_cards~settings_regions 
@timkindberg
Copy link
Author

Actually nvm... there is already a similar PR that you never responded to...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant