File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
unassertify
2
2
================================
3
3
4
- [ Browserify] ( http://browserify.org/ ) transform to remove assertions on production build . Encourages Design by Contract (DbC).
4
+ [ Browserify] ( http://browserify.org/ ) transform to remove assertions from code . Encourages Design by Contract (DbC).
5
5
6
6
[ ![ Build Status] [ travis-image ]] [ travis-url ]
7
7
[ ![ NPM version] [ npm-image ]] [ npm-url ]
@@ -43,7 +43,7 @@ var glob = require('glob'),
43
43
44
44
gulp .task (' production_build' , function () {
45
45
var files = glob .sync (' ./src/*.js' );
46
- var b = browserify ({entries: files, debug : false });
46
+ var b = browserify ({entries: files});
47
47
b .transform (' unassertify' );
48
48
return b .bundle ()
49
49
.pipe (source (' bundle.js' ))
Original file line number Diff line number Diff line change 1
1
/**
2
2
* unassertify
3
- * Browserify transform to remove assertions on production build
3
+ * Browserify transform to remove assertions from code to encourage Design by Contract (DbC)
4
4
*
5
5
* https://github.com/twada/unassertify
6
6
*
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " unassertify" ,
3
- "description" : " Browserify transform to remove assertions on production build " ,
3
+ "description" : " Browserify transform to remove assertions from code to encourage Design by Contract (DbC) " ,
4
4
"version" : " 1.0.2" ,
5
5
"author" : {
6
6
"name" : " Takuto Wada" ,
You can’t perform that action at this time.
0 commit comments