-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 gulpfile.js
into separate files
#22109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's difficult to review this file because I can't tell what are changes and what are just direct moves from gulpfile.js
into the separate files. Would you mind telling us if there are any places where you made changes that aren't just moves and new/replaced imports?
@danielrozenberg Re: seeing code that has moved, read PR description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few nits, as requested they are all in one review this time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, my mistake. Did that just now, looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments addressed. Will merge after some local testing, and after Travis is happy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In before Travis
Locally tested the runtime (minified and not), and Travis is green. Merging. |
This PR splits up
gulpfile.js
(~1700 lines) into separate files for easy maintenance, and to pave the way for a long-awaited upgrade togulp
v4.Since Github's web UI doesn't highlight code that was moved across files but is otherwise unchanged, you can check out this branch and run
git diff HEAD^ HEAD --color-moved
. The only new code you should see arerequire
andexport
statements.Coming up: Upgrade to
gulp
v4