showing results for - "grunt project configuration object uglify"
Samuel
03 Jan 2019
1// Project configuration.
2grunt.initConfig({
3  pkg: grunt.file.readJSON('package.json'),
4  uglify: {
5    options: {
6      banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
7    },
8    build: {
9      src: 'src/<%= pkg.name %>.js',
10      dest: 'build/<%= pkg.name %>.min.js'
11    }
12  }
13});