Why do I need to less-loader the style of antd again in webpack when I refer to antd?

using webpck-dev-server to build
clipboard.png
webpack configlessantd


clipboard.png

webpack configuration here

const path = require("path")
const webpack = require("webpack")

function resolve (dir) {
  return path.join(__dirname, "..", dir)
}

const webpackConfig = {
  entry: "./example/index.js",
  output: {
    path: "/",
    filename: "[name].[hash:7].js"
  },
  resolve: {
    extensions: [".js", ".jsx", ".json"],
    alias: {
      "src": path.resolve(__dirname, "../src"),
      "example": path.resolve(__dirname, "../example")
    },
    modules: ["../src/components", "node_modules"]
  },
  devServer: {
    host: "0.0.0.0",
    port: 6666,
    publicPath: "/",
    noInfo: true
  },
  module: {
    rules: [
      {
        test: /\.(jsx?| js)$/,
        loader: "babel-loader",
        include: [resolve("example"), resolve("src")],
        query: {
          presets: ["env", "stage-0", "react"],
          plugins: [
            "babel-plugin-transform-decorators-legacy",
            "transform-class-properties",
            ["import", {
              "libraryName": "antd",
              "style": true
            }],
            "transform-runtime",
            "transform-object-rest-spread"
          ]
        }
      },
      {
        test: /\.(less|css)$/,
        use: [
          "style-loader",
          "css-loader",
          {
            loader: "less-loader",
            options: {
              javascriptEnabled: true
            }
          }
        ],
        include: [resolve("example"), resolve("src"), resolve("node_modules/antd/lib")]
        // exclude: /(node_modules)/
      }
    ]
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NamedModulesPlugin(),
    new webpack.DefinePlugin({
      "process.env.NODE_ENV": JSON.stringify("development")
    })
  ]
}

module.exports = webpackConfig

but if you parse the antd style, the service will jam directly and ask for God"s guidance

.
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-1e4398e-44a37.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-1e4398e-44a37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?