ngmin-brunch

1.7.0 • Public • Published

ngmin-brunch 1.7.0

Use ngmin to run through AngularJS code and turn function styles dependency injection annotations into array style annotations for minifiers. For instance, convert

angular.module('app').controller('MyCtrl', function($http) {
  ...
});

into

angular.module('app').controller('MyCtrl', [
  '$http',
  function($http) {
    ...
  }
]);

Usage

Add "ngmin-brunch": "x.y.z" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "ngmin-brunch": "git+ssh://git@github.com:jupl/ngmin-brunch.git".

Readme

Keywords

none

Package Sidebar

Install

npm i ngmin-brunch

Weekly Downloads

1

Version

1.7.0

License

none

Last publish

Collaborators

  • jupl