Skip to content

sexfat/basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic

Minify javascript files with UglifyJS

npm install grunt-contrib-uglify --save-dev



module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({

    uglify: {
    my_target: {
      files: {
        'dest/output.js': ['src/*.js']
      }
    }
  }
  });

  // Load the plugin that provides the "uglify" task.
  grunt.loadNpmTasks('grunt-contrib-uglify');

  // Default task(s).
  grunt.registerTask('default', ['uglify']);

};




Releases

No releases published

Packages

No packages published