【文件属性】:
文件名称:grunt-folder-wise-concat:Grunt 插件以明智地连接文件文件夹
文件大小:13KB
文件格式:ZIP
更新时间:2021-07-14 14:32:54
JavaScript
grunt-folder-wise-concat
Grunt 插件以明智地连接文件文件夹。
入门
这个插件需要 Grunt ~0.4.1
如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件:
npm install grunt-folderWiseConcat --save-dev
安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它:
grunt . loadNpmTasks ( 'grunt-folderWiseConcat' ) ;
“按文件夹连接”任务
概述
在项目的 Gruntfile 中,将名为folderWiseConcat的部分添加到传递给grunt.initConfig()的数据对象中。
grunt . initConfig ( {
【文件预览】:
grunt-folder-wise-concat-master
----LICENSE-MIT(1KB)
----.jshintrc(191B)
----Gruntfile.js(1KB)
----tasks()
--------orderFileHandler.js(2KB)
--------folderWiseConcat.js(2KB)
----test()
--------SimpleConc()
--------OrderFile()
--------MultiLevel()
----README.md(5KB)
----.gitignore(52B)
----package.json(1023B)