Webpack encountered an error when compiling the css file separately

these are my webpack configuration information

var htmlWebpackPlugin = require("html-webpack-plugin");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const ExtractTextPlugin = require("extract-text-webpack-plugin");

let pathsToClean = [
    "dist",
];


module.exports = {
    entry: "./src/app.js",
    output: {
        path: __dirname + "/dist",
        filename: "static/js/dozhan.[chunkhash].min.js",
    },
    plugins: [
        new htmlWebpackPlugin({
        template: "./src/footer.html",
        hash: true,
        filename: "footer.html",
        minify: {
            collapseWhitespace: false
        }
    }),
        new CleanWebpackPlugin(pathsToClean),
        new ExtractTextPlugin("docs.min.css"),
    ],
    module: {
        rules: [
            {
                test: /\.css$/,

                use: ExtractTextPlugin.extract({
                    fallback: "style-loader",
                    use: "css-loader"
                })
            }
        ]
    },

};

this is the content of the entry file I want to compile (app.js):

import "docs"
import "docs.min.css"
console.log("js");

this is my directory structure

The

problem arises when I add the extract-text-webpack-plugin plug-in and want to compile the css file separately. What"s going on? :

clean-webpack-plugin: C:\Users\Administrator\Desktop\web\dist has been removed.
(node:3592) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(node:3592) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
Mar.15,2021

version problem webpack version does not match extract-text-webpack-plugin

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30267-2bd1c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30267-2bd1c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?