Error in path after new ExtractTextPlugin file is packaged

part of the configuration of webpack.confing.js is as follows

new ExtractTextPlugin("css/[name].[contenthash:8].css"),

items are packaged as follows

csscss
csscss

Mar.09,2021

final solution new ExtractTextPlugin ("[name]. [contenthash:8] .css")
OK without specifying a folder for css when packaged.
but the reason is not clear. Which passing god can give us some advice would be greatly appreciated

Menu