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

Split single Gulpfile into per task files #56

Closed
sdiaz opened this issue Jan 24, 2015 · 2 comments
Closed

Split single Gulpfile into per task files #56

sdiaz opened this issue Jan 24, 2015 · 2 comments

Comments

@sdiaz
Copy link

sdiaz commented Jan 24, 2015

Hello,

Im using this starter kit for our projects, but we have to modify the current gulpfile and split into files per task in a gulp/ directory for better understanding of build processes as we have modify some of them (we use modernizr, semantic-ui, sass ..)

How do you feel about switching to that model instead of a single file.

The structure would be

gulpfile.js
gulp/index.js
gulp/config.js
gulp/tasks/
gulp/util/errorHandling.js

@sdiaz
Copy link
Author

sdiaz commented Feb 9, 2015

The gulp boilerplate of the project has been significantly reduced so I don't know if this is still useful and submit a PR or we should keep at is now.

@koistya
Copy link
Member

koistya commented Apr 15, 2015

FYI, styles and autoprefixer stuff is going to be removed from the gulpfile.js (see #43), leaving just a few tasks related to firing up webpack and development web server. The gulpfile.js will be even smaller than it is now. Splitting it into separate files will add unnecessary complexity to the project's structure. Some folks go even farther and remove dependency on Gulp in favor of just using webpack and npm scripts.

@koistya koistya closed this as completed Apr 15, 2015
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

No branches or pull requests

2 participants