Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed gulp implementation #96

Closed
wants to merge 1 commit into from
Closed

Changed gulp implementation #96

wants to merge 1 commit into from

Conversation

michaelgmcd
Copy link

Hey everyone,

Newer to React but I've been using this code to familiarize myself and decided to make a PR for the implementation of gulp that I personally use (in case everyone prefers it). It's not an original idea, I know of a few other projects that use this format.

Anyways, as it says in the commit, I separated all gulp tasks into gulp/tasks/. The gulpfile.js now just requires gulp/index.js which then iterates the tasks directory for all .js files and requires them. All shared variables that were in gulpfile.js are now in gulp/config.js. I have tested gulp and all tasks still work as expected. I personally use it to make tasks more readable and easier to add.

… and all shared variables into one config file. gulp/index.js iterates over all .js files in gulp/tasks and requires them for gulp
@michaelgmcd
Copy link
Author

Just noticed your comment on #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant