0.1.0 • Published 8 years ago
antiaris-panto-transformer-resource v0.1.0
antiaris-panto-transformer-resource
Resource transformer for panto.
panto.loadTransformer('resource');
panto.pick('**/*.html').pipe(panto.read()).pipe(panto.resource({
getResourceAlias: res => {
return 'http://cdn.com/' + res;
}
})).end();
options
- getResourceAlias: function
0.1.0
8 years ago