Library bundling – DllPlugin

DllPlugin causes WebPack to organize all external library modules into separate library bundles. Since these library modules do not change during the development process they can be bundled when the project starts, thus saving the time to bundle them in all subsequent project builds. Since library packages are usually larger than the application-specific code, the time saved in each build with this technique is significant. Depending on the project needs, one or more library bundles may be defined. Each library bundle is generated by a different bundling process that has its own WebPack configuration file and that uses the WebPack DllPlugin to generate a kind of table of contents, called a manifest. Each manifest ...

Get Hands-On TypeScript for C# and .NET Core Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.