AngularJS preminifier for Brunch
npm install ngmin-brunchUse ngmin to run through AngularJS code and turn function styles dependency injection annotations into array style annotations for minifiers. For instance, convert
``javascript`
angular.module('app').controller('MyCtrl', function($http) {
...
});
into
`javascript`
angular.module('app').controller('MyCtrl', [
'$http',
function($http) {
...
}
]);
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"`.