0.0.2 • Published 9 years ago
gm-webpack-loader v0.0.2
Gm loader for webpack
A loader for picture files with gm
for filename template placeholders, this loader inherits file-loader options.
Usage
var image = require('gm?' +
'name=images/[name]-[sha512:hash:base64:7].[ext]&' +
'sizeH=480&' +
'cropW=320!' +
'./images/my-pic.jpg');
Options
- resizeH
- resizeW
- cropH
- cropW
... docs in progress
License
0.0.2
9 years ago