0.1.0 • Published 8 years ago

file-loader-plus v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

file loader plus for webpack

Usage

Documentation: Using loaders

loaders: [{
  test: /\.(jpg|jpeg|gif|swf|png|eot|woff|ttf|svg)$/,
  loader: 'file-loader',
    query: {
      context: 'some dir',
      name: '[path][name].[ext]',
      map: function(url) {
        return url;
      }
    }
  }...

By default the file-loader cann't support a filter for the url, this loader can set a function how to fix the url.

More

see https://github.com/webpack/file-loader

License

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