Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: third_party/polymer/v0_8/components/promise-polyfill/Gruntfile.js

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 module.exports = function(grunt) {
2
3 grunt.initConfig({
4 pkg: grunt.file.readJSON('package.json'),
5
6 uglify: {
7 options: {
8 banner: '/*! <%= pkg.name %> <%= pkg.version %> */\n'
9 },
10 dist: {
11 files: {
12 'Promise.min.uglify.js': ['Promise.js']
13 }
14 }
15 },
16
17 closurecompiler: {
18 options: {
19 compilation_level: 'ADVANCED_OPTIMIZATIONS',
20 },
21 dist: {
22 files: {
23 'Promise.min.js': ['Promise.js']
24 }
25 }
26 },
27
28 bytesize: {
29 dist: {
30 src: ['Promise*.js']
31 }
32 }
33 });
34
35 grunt.loadNpmTasks('grunt-contrib-uglify');
36 grunt.loadNpmTasks('grunt-closurecompiler');
37 grunt.loadNpmTasks('grunt-bytesize');
38
39 grunt.registerTask('build', ['closurecompiler', 'bytesize']);
40 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698