After using antd, npm run dev can be used, but there will be an alarm, which roughly means that it has something to do with the file size.

, 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.

Mar.13,2022

you can learn the optimization optimized packaging configuration of webpack, or use lazy loading, react-lodaable and the like in your project, or you can encapsulate it yourself

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-1e3c3fb-439f6.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-1e3c3fb-439f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?