waterfall.js
Version:
Pinterest Grid in Just 1KB
25 lines (20 loc) • 431 B
JavaScript
var grunt = require('grunt');
grunt.initConfig({
uglify: {
my_target: {
files: {
'waterfall.min.js': ['src/**/*.js']
}
}
},
watch: {
dist: {
files: ['src/**/*.js'],
tasks: ['uglify']
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
module.exports = grunt;