panto-transformer-resource
Resource transformer for panto.
panto.loadTransformer('resource');
panto.pick('**/*.html').read().resource({
getResourceAlias: res => {
return 'http://cdn.com/' + res;
}
});
options
- getResourceAlias: function