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

    magix-product-releasepublic

    Magix应用打包脚本

    This is the tools used for the release of Magix Application

    使用方法

    首次使用

    安装

    npm install magix-app-build
    

    根据你的应用配置Gruntfile.js

        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'
    
            }
        }
    

    执行grunt magix即可

    Keywords

    none

    install

    npm i magix-product-release

    Downloadsweekly downloads

    36

    version

    0.2.2

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar