jupl / ngmin-brunch

ngmin preminification for Brunch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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".

About

ngmin preminification for Brunch


Languages

Language:CoffeeScript 98.2%Language:Racket 1.8%