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 |
- Source:
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 |
Methods
-
addToTasks(path, regex, callback, callbackParams)
-
Add to task
Parameters:
Name Type Description pathString | Array Source path regexString | RegExp Regexp object callbackfunction Callable function callbackParamsundefined | 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: