I have an issue with the order of my chunks inserted in index.html.
I'm using webpack2 and HtmlWebpackPlugin.
I think what is controlling the order of the chunk is the chunksSortMode option.
The documentation for HtmlWebpackPlugin is saying:
chunksSortMode: Allows to control how chunks should be sorted before they are included to the html. Allowed values: 'none' | 'auto' | 'dependency' |'manual' | {function} - default: 'auto'
What is the difference between:
- none
- auto
- dependency
- manual
For the 'function' option, this answer gave me insight
It's likely that I don't understand something basic as I would expect to find this info in the documentation from the start.