gm-webpack-loader
0.0.2 • Public • Published Gm loader for webpack
A loader for picture files with gm
for filename template placeholders, this loader inherits file-loader options.
Usage
Documentation: Using loaders
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
MIT (http://www.opensource.org/licenses/mit-license.php)
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.2
1
Version History
- VersionDownloads (Last 7 Days)
- 0.0.2
1
Package Sidebar
Install
Weekly Downloads