-
Notifications
You must be signed in to change notification settings - Fork 105
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
Support chunk sorting options #131
Comments
I think this would be a pretty major change as it would require the output to be wrapped in an array or some sortable structure instead of an object. Not opposed to it, just would require some planning and a major release. |
At worst, could a sort order index attribute be output as a property and leave the sorting up to the file consumer.
|
Yeah, that would be a good way to do it. Happy to review any PRs. A little too busy right now to do it myself. |
What is the current order based on? It's not aplhabetical, it's not the same as the order reported by webpack in console (entry points, then chunks). Thanks. |
There isn't any set order, outside of setting the |
It would be awesome to support sorting of the chunks, similar to https://github.com/jantimon/html-webpack-plugin/blob/master/lib/chunksorter.js
I currently use this plugin to create the assets and would like to automatically be able to include the appropriate script tags during SSR in the correct order automatically.
This could probably also supersede the manifestFirst option?
The text was updated successfully, but these errors were encountered: