K
K
Kirill Karpik2019-08-25 21:49:23
webpack
Kirill Karpik, 2019-08-25 21:49:23

How to work with chunks?

Hello. There are several entry files and vendor, broken into chunks, for optimization (in principle, you can not break it). Is it possible to somehow specify in HtmlWebpackPlugin that all chunks, but not all entry files, are connected to the page?

chunks: [}
does not fit in the way that it is necessary to indicate exactly which chunks are obtained, but it is necessary that it be determined automatically in the way that the project can be expanded by another developer.
excludeChunks: []
also not suitable, for the same reason.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question