Didi Tech
Sep 20, 2019 · Frontend Development
Webpack Entry Configuration and Compilation Queue Control
Webpack determines which files become modules by processing the entry configuration—accepting strings, arrays, objects, or functions—through EntryOptionPlugin, which creates the appropriate SingleEntry, MultiEntry, or DynamicEntry plugin; these plugins enqueue entries via compilation.addEntry, while a Semaphore limits concurrent module processing to the default of 100.
Compilationentryfrontend
0 likes · 12 min read
