-
Notifications
You must be signed in to change notification settings - Fork 5
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
Switch to a different bundler #376
Comments
Hey @ddohler , I made some notes after some high-level investigation, and would like to ask you to review if the proposed changes make sense before proceeding. cc @rachelekm and @ktohalloran , please also take a look and feel free to join the discussion! If there is any infra related changes, I will make notes of them along the way and let Bryan know after he comes back from vacation. OverviewI did some light investigation today trying to understand better the scope of the issue- what the current status is, what options we have to decouple and replace, and what related scripts for local dev and CI/CD will need updates. I laid out my understanding of these aspects in the following sections, and would like to invite folks to join this discussion, since this is an 8-point card and it potentially has some downstream (positive) impact for development and deployment. What is the current status?In order to remove
In addition to the above,
What to decouple and replace?
The above may not be an exhaustive list, as some non-obvious dependencies may be required after removing Plus, the initial values of some fields in the For configurations in What other changes do we need?
|
Thanks for writing this up, @aaronxsu ! This looks like a pretty comprehensive list. I've got a few comments about some of the points you mentioned:
I'm not sure whether this will be necessary -- if we use Webpack from inside docker-compose, then I think docker-compose should inject the environment variables from the
One thing to note is that Mastarm actually uses https://github.com/prettier/prettier-eslint for formatting, which formats files by running
I don't believe that any of the parameters in
The fields in I hope that all is helpful! |
Thanks @ddohler for the detailed comments and answers. These are very helpful! |
Thanks for writing this up and including me in the discussion, this looks great and is helpful context! |
I second @rachelekm --thanks for including us! I look forward to saying goodbye to mastarm 🎉 |
Currently the project uses Mastarm, but that project is a custom Conveyal tool that is no longer maintained, and we've had to fork it to fix bugs. Switching to a more mainstream tool such Webpack would improve maintainability of the project.
Part of this should include adjusting how environment variables are handled for the frontend and pulling them in from S3 via
scripts/bootstrap
. See this discussion for details.We should also move
taui
into thesrc
directory.The text was updated successfully, but these errors were encountered: