-
-
Notifications
You must be signed in to change notification settings - Fork 608
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,
and
and
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/thread-loader#66
Similar issue in previous: #1281
JX-Zhuang
Metadata
Metadata
Assignees
Labels
No labels
