gulp-closure-dicontainer
DI Container for Google Closure with automatic registration and resolving based on types
Plugin for closure-dicontainer.
Install
npm install --save-dev gulp-closure-dicontainer
Example
var gulp = ;var diContainer = ; gulp;
API
diContainer(options)
options
name
Type: String
Default value: 'app.DiContainer'
Generated DI container name.
resolve
Type: Array.<string>
Default value: ['App']
Array of types to be resolved.
baseJsDir
Type: String
Default value: 'bower_components/closure-library/closure/goog'
Optional
License
MIT © Daniel Steigerwald