Simplify snapshot handling once on Node.js 21+

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • None
    • Developer Tools

      We currently create "lazy" copies of some of the Node.js modules we use when webpack'ing mongosh for CLI compilation in order to be able to use them in snapshots, e.g. child_process. We should reduce or remove this when we upgrade to a newer Node.js version, e.g. Node.js 22.

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: