This package has been deprecated

    Author message:

    DEPRECATED, use https://npmjs.org/package/panto-transformer-resource instead.

    antiaris-panto-transformer-resource

    0.1.0 • Public • Published

    antiaris-panto-transformer-resource

    NPM version Downloads Build Status Dependency status Dev Dependency status

    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

    Install

    npm i antiaris-panto-transformer-resource

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • yinyongcom666