file-plus-loader
v0.1.0file plus loader for webpack
Usage
loaders: [{
test: /\.(jpg|jpeg|gif|swf|png|eot|woff|ttf|svg)$/,
loader: 'file-plus',
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
file-loader: https://github.com/webpack/file-loader
License
npm i [email protected]
Metadata
- MIT
- Whatever
- [email protected]
- released 5/5/2016