UNPKG

online-status

Version:

front-end connectivity monitor for JS apps.

20 lines (15 loc) 379 B
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ uglify: { build: { src: 'onlineStatus.js', dest: 'src/onlineStatus.min.js' } } }); // Load the plugin that provides the "uglify" task. grunt.loadNpmTasks('grunt-contrib-uglify'); // Default task(s). grunt.registerTask('default', ['uglify']); };