Why webpack converts require('path to img.png') in base64?
问题 I have a chat, and a JSON file where all the history is stored. All images/video/audio link to require('path to media'). However, for some reason, when using vue-cli-service serve or vue-cli-service build, webpack skips my image which is used for Emoji, not including it in dist folder, but converting it to base64 string. JSON looks like this: { type: 'emoji', author: `me`, data: { src: require('../../Media/img/smiling-face.png') } }, { type: 'text', author: `me`, data: { text: `Do you read me