JSPM

  • Created
  • Published
  • Downloads 5085595
  • Score
    100M100P100Q197290F

url loader module for webpack

Package Exports

  • url-loader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (url-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

url loader for webpack

Usage

The url loader works like the file loader, but can return a Data Url if it is supported by browser and the file is smaller than a limit.

The limit defaults to 1kb and can be overwritten in options.

options.url.dataUrlLimit = 1024 1kb limit.

License

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