Skip to content

Webpack Roadmap

What

We got webpack in and that is great. But we can't take full advantage until we remove global code.

After a chat with @jschatz1, we decided to make a roadmap to allow for things to get scheduled. This issue is done in collaboration by @filipa @mikegreiling and @iamphill.

For this to happen we need to divide and conquer. This is not an hard task to do, just a boring one.

We also need to teach. We all use it, but webpack can be hard to understand and there is no shame in that :) We can't force everyone to read full documentation, we could do a small talk explaining the need of webpack and how to use it.

How

  1. main.js - Divide and conquer!

  2. Shortcuts

  3. Templates

  4. Commit

    • ./commit/image_file
  5. Utils

  6. u2f

  7. Everything else

  8. Export gl utility functions as modules - https://gitlab.com/gitlab-org/gitlab-ce/issues/37220

  9. Spies in gl functions - https://gitlab.com/gitlab-org/gitlab-ce/issues/30998

  10. Dispacther - https://gitlab.com/gitlab-org/gitlab-ce/issues/37792

  11. Docs! Let's document everything so everyone can use it! - https://gitlab.com/gitlab-org/gitlab-ce/issues/38173

  12. Memory - https://gitlab.com/gitlab-org/gitlab-ce/issues/32893

  13. Logs - https://gitlab.com/gitlab-org/gitlab-ce/issues/34348

  14. Speed up webpack dev server - https://gitlab.com/gitlab-org/gitlab-ce/issues/35305

Followup: https://gitlab.com/gitlab-org/gitlab-ce/issues/41290

Edited by Mike Greiling