Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    image-to-cdnpublic

    分析css内 图片上传图片到CDN 并用线上地址替换本地路径


    无需.att文件,

    -- 安装

    首先确保安装了att,然后执行以下命令

    att install image-to-cdn
    #直接上传到  正式 预发 测试 三个环境 
    att igo style.css
    a{background-image:url(image/a.png)}

    igo after

    a{background-image:url(http://alicdn.com/x/a-size.png)}

    Keywords

    none

    install

    npm i image-to-cdn

    Downloadsweekly downloads

    6

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar