This is probably a dummy question but after reading split-chunks-plugin documentation and this article about code splitting, i still can't understand what an async
chunk refers to.
The split-chunks-plugin documentation states about the chunks
property that :
[it] indicates which chunks will be selected for optimization. If a string is provided, possible values are all, async, and initial. Providing all can be particularly powerful because it means that chunks can be shared even between async and non-async chunks.
What is the difference between an async chunk and a non-async chunk ? Is it linked to dynamic imports ?
For example :
if (myCondition) {
import('myLib').then(myLib => {
// Do something
});
}