Append to the split sample how to order the chunks
brauliodiez opened this issue · 0 comments
brauliodiez commented
I think 01 Styles/02 Twitter bootstrap is a good place, since there's a real need of placing twitter bootstrap loading before than appStyles.
I think we should test writing this code, updating the readme (just like an appendix section), but not upload the code itself (it would impact the rest of samples). What do you think?
plugins: [
new HtmlWebpackPlugin({
filename: 'index.html', // destination file ./dist
template: 'index.html', // name of origina html file
chunksSortMode: 'manual',
chunks: ['vendor', 'vendorStyles', 'appStyles', 'app']
}),