Open AprilArcus opened 2 years ago
@AprilArcus Are you still using this plugin? Just asking.
Nope
@AprilArcus Then what's the alternative you're using?
I'm no longer attached to the product team which used this plugin, so my advice is hypothetical.
Consider adopting https://www.npmjs.com/package/typed-scss-modules as a pre-build stage, or using it as the basis for a novel loader for webpack or your favorite modern bundler or meta-framework.
When chained after
css-loader
6.x withoptions.esModule: true
(the default), andoptions.modules.namedExport: true
(not the default),typings-for-css-modules-loader
dies on this line, since it does not findexports.locals
in the emitted source:https://github.com/TeamSupercell/typings-for-css-modules-loader/blob/846a700efdbb697f0a561622a85befd9a049f961/src/index.js#L64-L66