Last active
August 11, 2016 23:49
-
-
Save jdx/3f361aaec6019dde24a29c87a9db9f33 to your computer and use it in GitHub Desktop.
Simple React gulpfile.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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