url-loader converts images into DataUrl. After you define it in the webpack configuration file, it can be used in html/css/js, but the usage is different. For usage in js/css, you can see here Article "webpack multi-page application architecture series (6): I heard that webpack can also package images and fonts?" 》
url-loader converts images into DataUrl. After you define it in the webpack configuration file, it can be used in html/css/js, but the usage is different. For usage in js/css, you can see here Article "webpack multi-page application architecture series (6): I heard that webpack can also package images and fonts?" 》