The project needs to be packaged when it is released. There are two purposes, one is to generate the files in the memory to the disk, and the other is to optimize the storage path respectively
When learning the dark horse course, I found that the optimized image path always does not generate the images folder
{ test: /\.jpg|png|gif$/, use: 'url-loader?limit=470&outputPath=images' },
First of all, you must know that the limit is set by yourself. Images higher than this size will not be converted to base64, and images in base64 format will not be generated into packaged images.
Therefore, in order to see the optimized images folder, the actual size of the image needs to be larger than the set limit value.