grunt-preload

2019-10-13

grunt-preload是什么

什么是grunt-preload,Make javascript support @preload tag to preload other files.

grunt-preload使用教程帮助文档

grunt-preload

Parse @preload tag to concat other files in javascript.

Getting Started

This is an internal task set used by fenbi.com, read each source before use it.

Install the module with: npm install grunt-preload

grunt.initConfig({
    preload: {
        test: {
            files: [{
                expand: true,
                cwd: 'src/',
                src: '**/*.js',
                dest: 'dest/',
                ext: '.preload.js'
            }]
        }
    }
});

grunt.loadNpmTasks('grunt-preload');

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

0.1.82013-02-22 Support grunt 0.4.0. 0.1.52013-01-15 Fix preload bug. 0.1.42013-01-05 Use source-mapto generated source map instead UglifyJS. 0.1.32013-01-05 Add source map support. 0.1.22012-12-26 Fix: missing dependency underscore. 0.1.02012-12-10 First release.

License

Copyright (c) 2012 PerfectWorks Licensed under the MIT license.


上一篇:grunt-dolphin-optimizer
下一篇:customizr
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部