Concatenate cmd files.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-cmd-concat --save-dev
In your project's Gruntfile, add a section named
concat to the data object passed into
Where are the modules in the sea.
How should it include its dependencies.
A string value that is used to do something with whatever.
The banner of the concated files.
The footer of the concated files.
If set true, it will be treated as a noncmd file.
Uglify prettifier, you really don't have to change this value.
Processors are functions to find the related files to concat.
You can get a css2js function from
var style = style;grunt;
This is the same as
This will include all relative dependencies.
You should transport your modules first, make sure your modules contain id and dependencies.
Get transport task.
a.js is something like:
And the result should be the concat of
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.
Jan 19th, 2015
reset count in every task
July 8th, 2013
fix pkg not exist
June 27th, 2013
css2js need options
June 18th, 2013
April 23th, 2013
April 16th, 2013
April 11th, 2013
April 10th, 2013
April 1st, 2013