1.2.6 • Published 11 years ago

fis-postprocessor-annotate v1.2.6

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

fis-postprocessor-annotate

add ng-annotate for angularjs in fis postprocessor

在fis里继承ng-annotate的功能

安装

    npm install -g fis-postprocessor-annotate

然后再fis-conf.js中开始annotate插件

fis.config.merge({
    modules : {
        postprocessor : {
            js : 'annotate'
        }
    }
})

使用 ng-annotate,默认是add,如果想remove,可以再fis中添加以下配置

fis.config.merge({
    settings : {
        postprocessor : {
            annotate: {
                annotate:'remove'
            }
        }
    },
})

然后fis release的时候,就会加入ng-annotate的编译,让angular的代码可编译

此插件还用了 semi,在代码之后自动加上分号,也是方便压缩用的

1.2.6

11 years ago

1.2.5

11 years ago

1.2.4

11 years ago

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.0

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago