Skip to content

webpack5 DllPlugin option.name not support [contenthash], webpack4 supported #16700

@xinconan

Description

@xinconan

Bug report

What is the current behavior?
webpack5 DllPlugin option.name not support [contenthash], webpack4 supported. In docs, DllPlugin option.name just support [fullhash] and [name],why not support [contenthash] or [chunkhash]?

Use [contenthash] will throw error: Path variable [contenthash] not implemented in this context

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
webpack5 DllPlugin option.name support [contenthash] or [chunkhash]

Other relevant information:
webpack version: 5.75.0
Node.js version: 16.19.0
Operating System: windows 10
Additional tools:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions