url loader module for webpack

npm install url-loader
54 downloads in the last day
169 downloads in the last week
486 downloads in the last month

url loader for webpack


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.

// => DataUrl if "file.png" is smaller that 10kb

// => Specify mimetype for the file (Do this ever!)

// => Parameters for the file-loader are valid too
//    They are passed to the file-loader if used.


MIT (http://www.opensource.org/licenses/mit-license.php)

npm loves you