Skip to content

Solve ScopedName different of css-loader and css-modules-require-hook on Windows #119

Open
@chang-ke

Description

@chang-ke

due to this code of css-loader
https://github.com/webpack-contrib/css-loader/blob/d3a0a3c59f4de1b48c5011abbd1ca565b1be3760/src/utils.js#L76 and generic-names https://github.com/css-modules/generic-names/blob/2.0.0/index.js#L37

the relative path of generic-names 2.0.1 is same as css-loader, but now css-modules-require-hook use version 1.0.3, please upgrade generic-names

Activity

added a commit that references this issue on Jul 4, 2019
birdofpreyru

birdofpreyru commented on Apr 16, 2020

@birdofpreyru

@sullenor any plans to merge in the fix, or delegate the ownership of NPM package to somebody else (say, to me?) to get this fixed?

birdofpreyru

birdofpreyru commented on Apr 16, 2020

@birdofpreyru

Nevermind, I just forked the library and upgraded it myself. Anybody interested, you'll find it here: https://www.npmjs.com/package/@dr.pogodin/css-modules-require-hook

AsceticBoy

AsceticBoy commented on Dec 16, 2021

@AsceticBoy

please upgrade generic-names

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @AsceticBoy@birdofpreyru@chang-ke

        Issue actions

          Solve ScopedName different of css-loader and css-modules-require-hook on Windows · Issue #119 · css-modules/css-modules-require-hook