Class: Concat

Concat

Concat Concatenate files

new Concat(options, liveReloadOptions, defPaths)

Concat constructor
Parameters:
Name Type Description
options Object Concat options
liveReloadOptions Object Livereload options for concat building
defPaths Object Defined path from config
Properties:
Name Type Description
liveReloadOptions Object Livereload options for concat building
paths Object | Array Config path. See For detail
distDir String Distributive folder from config
outDir String Output folder from config
useAMD Boolean Build amd application flag
concatOptions Object Concatenate options
useAMD Boolean
Source:

Methods


addToTasks(path, regex, callback, callbackParams)

Add to task
Parameters:
Name Type Description
path String | Array Source path
regex String | RegExp Regexp object
callback function Callable function
callbackParams undefined | Array Options for callback
Source:
Returns:
Type
Boolean

build()

Run concatenate files
Source:

buildRJSConfig()

Build require JS config
Source:

buildWatch()

Run watch files changed
Source:

minify()

Run minify files
Source:

minifyWatch()

Watch changed source files for minified
Source:

processPath()

Process parse paths
Source: