I get this error when I use thread-loader before I use the css loader
Actual Behavior
Code
// webpack.config.js
// If your code blocks are over 20 lines, please paste a link to a gist
// (https://gist.github.com).
config.module.rule('css').oneOf('css-modules').
use('thread-loader').loader('thread-loader').tap(options => {
return {
...options,
workers: 2,
};
}).before('extract-css-loader');
// additional code, HEY YO remove this block if you don't need it
Expected Behavior
I get this error when I use thread-loader before I use the css loader
Actual Behavior
Code
How Do We Reproduce?