When webpack uses extractTextPlugin to separate css files, the style will be inserted directly into the header of html. How to solve this problem?

question: when using webpack plug-in extract-text-webpack-plugin to separate multi-entry css styles, only one css file (main.css) is generated, and the rest of the entry styles are inserted into html"s header. Now what should I do if I want to insert the styles into header and extract them into vender.css?

my webpack.config.js configuration is as follows:

   

how can I extract the insert into the page style? Thank you very much for the help of the great gods.

The extractTextPlugin of

webpack4+ has been abandoned. The alternative is mini-css-extract-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-1b381ee-2c100.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-1b381ee-2c100.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?