Webpack4 mini-css-extract-plugin production mode does not output css

entry

clipboard.png

clipboard.png
production

clipboard.png

development
clipboard.png

what"s the problem? Never found the answer


change import to require


I wonder if you used that enforce attribute when JS split the code

clipboard.png

css


antdclipboard.png, when introducing components, there is no need to introduce css, to recommend a github project webpack4+antd

Menu