Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
gulp.task('rely', () => {
combineTool.config({
log: false,
tmplFolder: 'dist',
srcFolder: 'build'
})
return combineTool.combine().then(() => {
console.log('complete');
}).catch(ex => {
console.log('gulpfile:', ex);
});
});
gulp.task('build', ['cleanBuild','copyImagesBuild'], function() {
combineTool.config({
compressCss: true
});
combineTool.combine().then(() => {
gulp.src(srcFolder + '/**/*.js')
.pipe(uglify({
compress: {
drop_console: true
},
output: {
ascii_only: true
}
}))
.pipe(gulp.dest(buildFolder));
});
});