When css is packaged, the following error is encountered
ERROR in ./src/index.css
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
CssSyntaxError
The cause of the problem is that the order of style-loader and css-loader is reversed, and if the order is reversed, CssSyntaxError will be reported.