Place css-modules-typescript-loader directly after css-loader in your webpack config
alexeychikk opened this issue · 1 comments
alexeychikk commented
Readme is unclear. It says
Place css-modules-typescript-loader directly after css-loader in your webpack config.
But the code example below shows css-modules-typescript-loader
being placed BEFORE css-loader
. Where should I place it?
tobyhinloopen commented
IIRC webpack "use" statements are executed from bottom to top; for something to execute "after" something, it must be placed before it in the "use" list.
I don't know the technical details - just something I noticed.