Skip to content

Commit

Permalink
uglified version
Browse files Browse the repository at this point in the history
  • Loading branch information
spacenick committed Jun 14, 2013
1 parent 9ba7800 commit a059a01
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
grunt.loadNpmTasks('grunt-contrib-concat');

module.exports = function(grunt) {
uglify:{
dist:{
'backbone-sync-deferred.min.js': ['backbone-sync-deferred.js']
}
}
};
grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.registerTask('build', ['concat', 'uglify']);
grunt.initConfig({
uglify:{
dist:{
files:{
'backbone-sync-deferred.min.js': ['backbone-sync-deferred.js']
}
}
}
});
};
1 change: 1 addition & 0 deletions backbone-sync-deferred.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"backbone": "~1.0.0",
"jquery": "~1.8.3",
"grunt": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.2"
}
}

0 comments on commit a059a01

Please sign in to comment.