Skip to content

Commit

Permalink
Merge pull request cocos#1158 from jareguo/master
Browse files Browse the repository at this point in the history
try to fix cocos#4269
  • Loading branch information
jareguo authored Sep 28, 2016
2 parents 20065b9 + f1f21b7 commit d8f1b29
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gulp/tasks/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ exports.uglifyOptions = function (minify, global_defs) {
if_return: false, // optimize if-s followed by return/continue
join_vars: false, // join var declarations
cascade: false, // try to cascade `right` into `left` in sequences
collapse_vars: false,
//warnings: true,
negate_iife: false,
pure_getters: false,
pure_funcs: null,
drop_console: false,
keep_fargs: true,
keep_fnames: true,
// collapse_vars: false,
// warnings: true,
// negate_iife: false,
// pure_getters: false,
// pure_funcs: null,
// drop_console: false,
// keep_fargs: true,
// keep_fnames: true,
side_effects: false // drop side-effect-free statements
}
};
Expand All @@ -61,4 +61,4 @@ exports.createBundler = function createBundler(entryFiles) {
};
return new Browserify(entryFiles, options)
.exclude(Path.join(__dirname, '../../package.json'));
};
};

0 comments on commit d8f1b29

Please sign in to comment.