event-source-any-where
Version:
A polyfill for http://www.w3.org/TR/eventsource/
21 lines (20 loc) • 446 B
JavaScript
module.exports = function(grunt) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
preserveComments: "some",
compress: {
drop_console: true
}
},
build: {
src: 'eventsource.js',
dest: 'eventsource.min.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);
};