Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit a5dd2fe

Browse files
committed
Merge pull request #110 from guybedford/remove-assertions
Remove assertions from build
2 parents f99de73 + 3243796 commit a5dd2fe

File tree

4 files changed

+25
-22
lines changed

4 files changed

+25
-22
lines changed

Gruntfile.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,21 @@ module.exports = function (grunt) {
4141
},
4242
uglify: {
4343
options: {
44-
banner: '<%= meta.banner %>'
44+
banner: '<%= meta.banner %>',
45+
compress: {
46+
drop_console: true
47+
}
4548
},
4649
dist: {
4750
src: 'tmp/<%= pkg.name %>.js',
4851
dest: 'dist/<%= pkg.name %>.js'
4952
},
5053
traceur: {
5154
options: {
52-
banner: '/*\n Traceur Compiler 0.0.25 - https://github.com/google/traceur-compiler \n*/\n'
55+
banner: '/*\n Traceur Compiler 0.0.25 - https://github.com/google/traceur-compiler \n*/\n',
56+
compress: {
57+
drop_console: false
58+
}
5359
},
5460
src: 'lib/traceur.js',
5561
dest: 'dist/traceur.js'

0 commit comments

Comments
 (0)