Skip to content

ModuleScopePlugin can't deal with dot directories #2404

Closed
@diligiant

Description

@diligiant

Some webpack modules (globalize-webpack-plugin is one) create a dot directory to hold temporary files. This breaks ModuleScopePlugin as it only tests for '.' prefix (requestRelative[0] === '.') instead of matching '../' (requestRelative.startsWith ('../')).

I'll submit a PR if that's ok.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions