This is an alternate implementation of css-modules-loader-core (a library that returns tokens exported by CSS Modules files). There are some important differences to the original implementation.
It returns not only the token name, but also the location of the token on the original CSS Modules file.
This allows the user to know where the token came from in the file.
ref: #45 #33
This is an alternate implementation of css-modules-loader-core (a library that returns tokens exported by CSS Modules files). There are some important differences to the original implementation.
.scss
or.less
(using source mapping).postcss@8
postcss@8
.