I am trying to inline loading a jpg using url-loader like this:
let image1 = require("url?limit=100000000!./samples/sample.jpg");
after running I get:
The base 64 string decodes as:
module.exports = __webpack_public_path__ + "./wwww/img/sample.jpg";
I was expecting the base64 string of the binary file.
Is this expected behaviour? how can I actually achieve the base64 string of the binary file?
If I try to inline say an html file it works as expected..so why not with jpgs?
Filesize of this particular file is 417 KB but the limit parameter is way bigger than that.