Skip to content

Use .cjs extension for CommonJS modules

What does this MR do and why?

This change ensures compatibility with Vite.

This MR makes CommonJS imports explicit. This guarantees that CommonJS modules that are shared between Gitlab frontend code and scripts outside of that are properly handled.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports