0.0.6 • Published 11 years ago

grunt-minified v0.0.6

Weekly downloads
184
License
-
Repository
github
Last release
11 years ago

grunt-minified

A grunt plugin to minify given JavaScript files

Getting Started

Install this grunt plugin next to your project's Gruntfile.js with:

npm install grunt-minified

Then add this line to your project's Gruntfile.js:

grunt.loadNpmTasks('grunt-minified');

Documentation

Add something like this in yer gruntfile:

minified : {
  files: {
    src: [
      '/js/src/**/*.js',                
      '/js/src/*.js'
    ],
    dest: '/js/min/'
  }
}

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Until v1.0.0, this will only be updated when major or breaking changes are made)

License

Copyright (c) 2012 Alexander Vassbotn Røyne-Helgesen
Licensed under the GPL license.