-
Notifications
You must be signed in to change notification settings - Fork 331
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
Frontend gulp tasks are complicated and doing too many things #2243
Comments
We'd probably need to pay this down before we can make changes to the build pipeline, i.e. if we want to change how we bundle JavaScript |
As discussed in the JavaScript effort/value sessions, one approach might be to tidy up our current Gulp tasks to make them easier to follow and so we have more confidence in making changes to them. However, this won't address the issues with the gulp dependencies we rely on being outdated. We could also consider switching to an alternative to Gulp. This will require learning something new and moving all our existing tasks to that, and as a team we don't feel we know any other task runners any better than we do Gulp. There may be a steep learning curve, but there may be less maintenance overhead for us if this alternative is better maintained and supported. |
Just mentioning this issue here where we attempted to switch |
Posting here to say that a lot of the dependency problems stem from our use of edit: Aha, just found #2469 |
Going to add this comment here for future reference. I think we should simplify our tasks and get rid of the From what I can see:
|
@lfdebrux @domoscargin Do you think we've done enough to reduce complexity and "too many things" to close this? |
@colinrotherham I wasn't involved in writing the ticket (just copied it from an old Trello board #2243 (comment)), so possibly not the best person to ask, sorry! |
Given that the problems brought up on this issue have been dealt with, I'm going to close this ticket in favour of #2717 and update that issue to reflect any work remaining. Our |
Cause
copy:assets
andcopy-assets
.scss:compile
task is responsible for creating both the app CSS and the dist CSS, depending on a flag. The pipelines for these files are similar, but not identical, but completely different files are built depending on the flag.js:compile
task is responsible for creating both the app JS and the dist JS, depending on a flag. The pipelines for these files are similar, but not identical, but completely different files are built depending on the flag.Consequences
Impact of debt
Medium, it works most of the time, but there is a high risk of breaking things when changes are needed.
Effort to pay down
High, we don't know enough about Gulp on the team, and we would want to be sure that any changes made don't break the build or lose functionality we need
Overall rating:
Medium
The text was updated successfully, but these errors were encountered: