url loader for webpack
Usage
Documentation: Using loaders
The url
loader works like the file
loader, but can return a Data Url if the file is smaller than a limit.
The limit can be specify with a query parameter. (Defaults to no limit)
If the file is greater than the limit the file-loader
is used and all query parameters are passed to it.
require("url?limit=10000!./file.png");
require("url?mimetype=image/png!./file.png");
require("url?prefix=img/!./file.png");
License
MIT (http://www.opensource.org/licenses/mit-license.php)