Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

typings-for-css-modules-loader is not compatible with css-loader@2 #81

Open
cixiu opened this issue Dec 7, 2018 · 7 comments
Open

typings-for-css-modules-loader is not compatible with css-loader@2 #81

cixiu opened this issue Dec 7, 2018 · 7 comments

Comments

@cixiu
Copy link

cixiu commented Dec 7, 2018

[email protected] has released. when using typings-for-css-modules-loader, we receive an error css-loader/locals was dropped in favor exportOnlyLocals option

@SeasonCCC
Copy link

same problem

@krailler
Copy link

+1

@c0gnize
Copy link

c0gnize commented Dec 27, 2018

Cannot wait anymore so I wrote a new loader to generate typings https://github.com/Megaputer/dts-css-modules-loader. Also found another alternative https://github.com/olegstepura/typed-css-modules-loader

@tejado
Copy link

tejado commented Jan 14, 2019

+1

@ecrofeg
Copy link

ecrofeg commented Mar 13, 2019

Looks like this package is abandoned. Too bad :(

@AndriySvyryd
Copy link

Another option that worked for me is https://github.com/seek-oss/css-modules-typescript-loader

marques-work added a commit to marques-work/gocd that referenced this issue Aug 20, 2019
  - Removed typings-for-css-modules-loader as this package is abandoned
  - Wrote a simple loader to replace typings-for-css-modules-loader that works with modern css-loader
    - The other typings packages suggested in Jimdo/typings-for-css-modules-loader#81
      didn't work well (either involved too much change, or didn't work at all with current css-loader@3)
    - Our simple loader maintains the same output as the original loader
marques-work added a commit to marques-work/gocd that referenced this issue Aug 20, 2019
  - Removed typings-for-css-modules-loader as this package is abandoned
  - Wrote a simple loader to replace typings-for-css-modules-loader that works with modern css-loader
    - The other typings packages suggested in Jimdo/typings-for-css-modules-loader#81
      didn't work well (either involved too much change, or didn't work at all with current css-loader@3)
    - Our simple loader maintains the same output as the original loader
marques-work added a commit to marques-work/gocd that referenced this issue Aug 20, 2019
  - Removed typings-for-css-modules-loader as this package is abandoned
  - Wrote a simple loader to replace typings-for-css-modules-loader that works with modern css-loader
    - The other typings packages suggested in Jimdo/typings-for-css-modules-loader#81
      didn't work well (either involved too much change, or didn't work at all with current css-loader@3)
    - Our simple loader maintains the same output as the original loader
@apherio
Copy link

apherio commented Dec 19, 2019

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants