magix-product-release

This is the tools used for the release of Magix Application

Magix应用打包脚本

This is the tools used for the release of Magix Application

npm install magix-app-build
    magix: {

        build: {

            //magix view 所在的入口文件夹路径
            src: '/opt/local/share/nginx/html/mbp-new/app/',
            //处理后文件夹的路径
            dest: '/opt/local/share/nginx/html/magix-app-build/build/app/'

        },
        options: {

            //压缩级别
            compress: 'normal',
            //中文转化unicode
            c2u: false,
            //view对应模板字段的key
            tmplKey: 'template'

        }
    }