module.exports = function (grunt) {

	grunt.initConfig({

		pkg: grunt.file.readJSON('package.json'),

		clean: {
			build: {
				src: "build"
			}
		},

		copy: {
			build: {
				files: [
					{
						expand: true,
						cwd: 'source/',
						src: ['demo/**/*.html', 'demo/**/*.css', 'demo/**/*.js', 'clever-video.js'],
						dest: 'build/'
					}
				]
			}
		}
	});

	grunt.loadNpmTasks('grunt-contrib-clean');
	grunt.loadNpmTasks('grunt-contrib-copy');

	grunt.registerTask('build', ['clean', 'copy']);

	grunt.registerTask('default', ['build']);
};
@@ -353,16 +353,131 @@
 %09%5D%0A%09%09%09%7D%0A
+%09%09%7D,%0A%0A%09%09uglify: %7B%0A%09%09%09build: %7B%0A%09%09%09%09files: %7B%0A%09%09%09%09%09'build/clever-video.min.js': %5B'source/clever-video.js'%5D%0A%09%09%09%09%7D%0A%09%09%09%7D%0A
 %09%09%7D%0A%09%7D);
@@ -564,16 +564,61 @@
 -copy');
+%0A%09grunt.loadNpmTasks('grunt-contrib-uglify');
 %0A%0A%09grunt

Add a Grunt task to produce a minified version of clever-video.js.