fis3-deploy-encoding

    1.0.0 • Public • Published

    fis3-deploy-encoding

    INSTALL

    npm install [-g] fis3-deploy-encoding

    USE

    fis.match('**', {
        charset: 'gbk',
        deploy: [
            fis.plugin('encoding'),
            fis.plugin('local-deliver')
        ]
    });

    encoding 处理以后文本内容变为 buffer 类型,无法再进行文本 replace 操作,所以文本 replace 操作应该在转码之前

    Keywords

    Install

    npm i fis3-deploy-encoding

    DownloadsWeekly Downloads

    296

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • 2betop
    • fansekey
    • fis-dev