Closed
Description
Bug report
In the latest version of css-loader ( 6.5.1 ), there are several lines of code that used webpack specific properties in loader context, like,
Line 946 in 0df1ae9
and
Line 373 in 0df1ae9
and
Line 412 in 0df1ae9
These usage cause css-loader
became less compatible. For example, when using css-loader
with thread-loader
, the loader fails to run because of missing properties.
Actual Behavior
When using css-loader
with thread-loader
, this error occurred.
Expected Behavior
css-loader
should not depends on any webpack specific properties.
How Do We Reproduce?
{
use: [
MiniCssExtractPlugin.loader
'thread-loader',
'css-loader',
]
}
Please paste the results of npx webpack-cli info
here, and mention other relevant information
N/A
Refs
Same issue in thread-loader
: webpack-contrib/thread-loader#66
Similar issue in previous: #1281
Metadata
Metadata
Assignees
Labels
No labels