Skip to content

Replace deprecated Rollup plugins

Sarah German requested to merge rollup-replace-deprecated-plugins into main

What does this MR do and why?

  1. Replaces a few deprecated Rollup plugins:
  1. Removes unneeded plugins:
  1. Removes unneeded commonJS requireReturnsDefault configuration option. We'd needed this to resolve an issue with an Algolia package.

Screenshots, screen recordings, or links to review app

n/a

How to set up and validate locally

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

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
  2. Compile the site: make compile
  3. Validate the rollup bundles JS files without errors

Merge request acceptance checklist

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

Edited by Sarah German

Merge request reports