gulp-file-split
split file to multiple for gulp
Usage
First, install gulp-file-split
as a development dependency:
npm install --save-dev gulp-file-split
Then, add it to your gulpfile.js
:
var gsplit = ; gulp;
API
gsplit(options)
options
Type: Object
options.prefix
Type: String
Default: file_
the sub file prefix name
options.count
Type: Integer
The number to be divided sub file
options.ext
Type: String
Default: txt
the sub file suffix name