Tidying other modules, fixing password and fx

This commit is contained in:
Martin Donnelly 2017-09-06 08:43:51 +01:00
parent 973c689ac5
commit c6d854d2e0

View File

@ -29,7 +29,7 @@ gulp.task('appJS', function() {
.pipe(jshint.reporter('default'))
.pipe(babel({ 'presets': ['es2015'] }))
.pipe(concat('app.js'))
/*.pipe(uglify({ 'mangle': true, 'compress': { 'sequences': true, // Join consecutive statemets with the comma operator
.pipe(uglify({ 'mangle': true, 'compress': { 'sequences': true, // Join consecutive statemets with the “comma operator”
'properties': true, // Optimize property access: a["foo"] → a.foo
'dead_code': true, // Discard unreachable code
'drop_debugger': true, // Discard “debugger” statements
@ -48,7 +48,7 @@ gulp.task('appJS', function() {
'side_effects': true, // Drop side-effect-free statements
'warnings': true, // Warn about potentially dangerous optimizations/code
'global_defs': {} // global definitions
} }))*/
} }))
.pipe(gulp.dest(`${dest }/js`));
});