Last active
January 4, 2016 06:29
-
-
Save dandean/8582036 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| uglify: { | |
| options: { | |
| banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n', | |
| ... | |
| }, | |
| dist: { | |
| files: { | |
| 'dist/<%= pkg.name %>.min.js': ['<%= concat.dist.dest %>'] | |
| } | |
| } | |
| }, | |
| foo: { | |
| ... | |
| }, | |
| bar: { | |
| ... | |
| } | |
| }); | |
| grunt.loadNpmTasks('grunt-contrib-uglify'); | |
| grunt.loadNpmTasks('grunt-contrib-foo'); | |
| grunt.loadNpmTasks('grunt-contrib-bar'); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uglify: | |
| uglifyjs [input files] [options] | |
| foo: | |
| ... | |
| bar: | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment