gulp-angular-extender

Extend AngularJS applications by injecting module dependencies at build time

Module License: MIT

Added by: Sam Deering

GitHub

Repository

mariocasciaro/gulp-angular-extender

Stats

Stars: 4

Watchers: 4

Forks: 2

Module Description

Build Status NPM version Dependency Status

gulp-angular-extender

Extend AngularJS applications by injecting module dependencies at build time.

Install

Install with npm.

npm install --save-dev gulp-angular-extender

Examples

The code below, add "plugin1" and "plugin2" to the "myApp" module dependencies.

var gulp = require('gulp');
var gulpAngularExtender = require('gulp-angular-extender');


gulp.task('default', function () {
    gulp.src('assets/**/*.js')
        .pipe(gulpAngularExtender({
          "myApp": [
            "plugin1",
            "plugin2"
          ]
        }))
        .pipe(gulp.dest('out/'));
});

Take at look at angular-extender to know what exactly this task does.

License

MIT @ Mario Casciaro

Module stats last updated: 2015-06-04 11:08:53

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!