html-webpack-plugin icon indicating copy to clipboard operation
html-webpack-plugin copied to clipboard

CSS resolving order

Open Devinora opened this issue 3 years ago • 0 comments

Faced with the problem of connecting CSS files. I do not know how to sort the correct order. JS is ok. I tried to use chunksSortMode, but it is not suitable for CSS, and the function itself provides few options. Is there a way to control the file connection process?

import '../../scss/pages/index';
import '../../scss/base/_footer';
<head>
   <meta charset="utf-8">
   <title>Webpack: Home</title>
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
   <link rel="shortcut icon" type="image/png" href="img/favicon~6a4b5400..png">
   <link href="css/styles~cart~index~_footer~7620310d.css" rel="stylesheet">
   <link href="css/styles~index~8752d8ff.css" rel="stylesheet">
</head>

Devinora avatar Sep 22 '22 18:09 Devinora