#MastodonPerf Spent the last hour trying to figure out how to use Webpack's url-loader alongside file-loader to inline images smaller than a certain size as dataURIs. I give up; I cannot for the life of me figure out how to get this to work correctly.
@nolan ive been thinking about how to do this and i think the solution is to call the loaders explicitly, like `import img from "url!./img.png"`
@modernserf I think I'll jump implement a custom loader. I don't like the `url!` approach because it forces anybody who adds a new URL dep to know exactly which loader to use, and it's also weird to use in CSS/SCSS files.