Skip to content

Instantly share code, notes, and snippets.

@jdx
Last active August 11, 2016 23:49
Show Gist options
  • Save jdx/3f361aaec6019dde24a29c87a9db9f33 to your computer and use it in GitHub Desktop.
Save jdx/3f361aaec6019dde24a29c87a9db9f33 to your computer and use it in GitHub Desktop.
Simple React gulpfile.js
'use strict'
const fs = require('fs')
const gulp = require('gulp')
const path = require('path')
fs.readdirSync(path.join(__dirname, 'gulp'))
.filter(f => f.endsWith('.js'))
.forEach(module => require('./gulp/' + module))
gulp.task('build', ['client:minify'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment