Vendor Attitude

The vendor Attitude integrates the webpack DllPlugin with the DllReferencePlugin to allow the extraction of vendor libraries.

In your .server file you can name the modules that should be treated as vendor libraries:

{
    "vendor": ["moduleA", "moduleB"]
}

If you need multiple named vendor library bundles:

{
    "vendors": {
        a: ["moduleA"],
        b: ["moduleB"]
    }
}

Goto file in Repository