Skip to content

Missing most licenses/dependencies starting in webpack 5.55.0 #48

@youngderekm

Description

@youngderekm

I updated to a recent version of webpack (5.68.0), and some time later noticed the license file generated with this plugin was missing almost all dependencies. It only showed dependencies for a few webpack related plugins, like css-loader. It was missing all other dependencies, like react. I kept downgrading webpack and found that this started happening in webpack 5.55.0. 5.54.0 and before work as expected.

Looking briefly at code of the plugin, it looks like compilation.fileDependencies, used in licenseUtils.js doesn't have the missing dependencies when it's accessed (for example, react is not in the list).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions