, npm run dev can be used after using antd, but there will be an alarm, which roughly means that it is related to the file size
.webpack is configured like this
{
test: /\.css$/,
use: ["style-loader", "css-loader"],
},
warning content:
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
app/main_2f8453eb.js (739 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (739 KiB)
app/main_2f8453eb.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
I don"t know much about webpack, and I learned to write what I wrote on the Internet.