Sha256: d09e2a6ec6a90e8546d25f8434c1c4a54caaae9a4efbba6b2f0220f597f27e06

Contents?: true

Size: 755 Bytes

Versions: 6

Compression:

Stored size: 755 Bytes

Contents

module.exports = function(grunt) {

	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),

		uglify: {
			options: {
				banner: '/*! <%= pkg.name %> <%= pkg.version %> */\n'
			},
			dist: {
				files: {
					'Promise.min.uglify.js': ['Promise.js']
				}
			}
		},

    closurecompiler: {
      options: {
        compilation_level: 'ADVANCED_OPTIMIZATIONS',
      },
      dist: {
        files: {
          'Promise.min.js': ['Promise.js']
        }
      }
    },

    bytesize: {
      dist: {
        src: ['Promise*.js']
      }
    }
	});

	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-closurecompiler');
	grunt.loadNpmTasks('grunt-bytesize');

	grunt.registerTask('build', ['closurecompiler', 'bytesize']);
};

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/promise-polyfill/Gruntfile.js
polymer-elements-rails-1.0.0 app/assets/components/promise-polyfill/Gruntfile.js
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/promise-polyfill/Gruntfile.js
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/promise-polyfill/Gruntfile.js
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/promise-polyfill/Gruntfile.js
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/promise-polyfill/Gruntfile.js