Skip to content

Use babel loader to process web-ide package in webpack

What does this MR do and why?

In chore: Update typescript compilation target (gitlab-web-ide!304 - merged), we are changing the Web IDE Typescript compiler and ESBuild configuration to output ES2022 JavaScript instead of ES2020. We identified that Webpack needs to use babel-loader to bundle JavaScript that uses ES2022 feature. This Merge Request configures WebPack to process the @gitlab/web-ide using babel-loader .

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

This MR doesn't introduce user-facing changes.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

You can test these changes by running the GitLab application locally using the GDK. You shouldn't see the following problem:

image.png

Edited by Enrique Alcántara

Merge request reports