Skip to content

Instantly share code, notes, and snippets.

@ttback
Created November 6, 2013 17:13
Show Gist options
  • Save ttback/7340180 to your computer and use it in GitHub Desktop.
Save ttback/7340180 to your computer and use it in GitHub Desktop.
uglify: {
development: {
options: {
banner: '/*! Development <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
mangle: false,
compress: false,
preserveComments: 'all',
beautify: true
},
all: {
files: [{
expand: true,
cwd: 'src/js/bundle',
src: ['*.js'],
dest: 'js-min/',
//ext: '.min.js', //commenting out for now
}],
}
}
}
@shama
Copy link

shama commented Nov 6, 2013

uglify: {
  development: {
    options: {
      banner: '/*! Development <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
      mangle: false,
      compress: false,
      preserveComments: 'all',
      beautify: true
    },
    expand: true,
    cwd: 'src/js/bundle',
    src: ['*.js'],
    dest: 'js-min/',
    //ext: '.min.js',    //commenting out for now
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment