grunt-license-collection

2019-10-12 admin

grunt-license-collection是什么

什么是grunt-license-collection,generate license comment collection js.

grunt-license-collection使用教程帮助文档

usage

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        license_collection: {
            dist: {
                src: ['src/js/lib/*.js', 'src/js/*.js'],
                dest: 'js/license.js',
                separator: '\n// license for FILEPATH\n'
            }
        }
    });

    grunt.loadNpmTasks('grunt-license-collection');

    grunt.registerTask('default', ['license_collection:dist']);
};

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-77237.html

文章标题:grunt-license-collection

回到顶部