Skip to content

ModuleScopePlugin can't deal with dot directories #2404

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions