-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
None
-
3
-
Iteration Porpoise
-
Not Needed
We currently use parcel for bundling the mongosh executable, but there are many reasons to migrate to webpack:
- We’re using an unmaintained version of parcel
- Webpack has much wider adoption and broader support
- In other places, we use webpack almost universally, including other mongosh packages
- Webpack does, unlike some comments in the codebase indicate, support our monorepo structure
- Webpack supports plugins like terser, which could help with speeding up startup times
- Parcel is problematic w.r.t support for ESM and newer Node.js modules, requiring us to monkey-patch its internals