Skip to content

Instantly share code, notes, and snippets.

@Lucbug
Created April 11, 2018 13:17
Show Gist options
  • Save Lucbug/56f76731ffedd6e2e598311f6a8706d0 to your computer and use it in GitHub Desktop.
Save Lucbug/56f76731ffedd6e2e598311f6a8706d0 to your computer and use it in GitHub Desktop.
Gulp build option to build app with pre-defined configs without editing React's Config.js (from other Config-*.js files)
// VARS
var gulp = require('gulp'),
[...];
gulp.task('build', function(callback) {
runSequence('clean', ['sass', 'js', 'images', 'assets', 'fonts'], 'minify', callback);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment