Enable modern JavaScript building for extensions.

Review Request #12764 — Created Jan. 6, 2023 and submitted

Information

Djblets
release-4.x

Reviewers

Extension packages now make use of @beanbag/frontend-buildkit to build
static media. This includes the new support for rollup.js.

Unlike before, Djblets no longer installs just the subset of build tools
needed based on the source files. It instead installs the whole
buildkit. This simplifies the design and reduces the chance for
problems.

The new logic also replies upon build_pipeline_settings(), rather than
manually manipulating settings. This further simplifies the build logic.

Unit tests pass.

Tested building some extensions. Verified they installed
@beanbag/frontend-buildkit and built static media.

Summary ID
Enable modern JavaScript building for extensions.
Extension packages now make use of `@beanbag/frontend-buildkit` to build static media. This includes the new support for `rollup.js`. Unlike before, Djblets no longer installs just the subset of build tools needed based on the source files. It instead installs the whole buildkit. This simplifies the design and reduces the chance for problems. The new logic also replies upon `build_pipeline_settings()`, rather than manually manipulating settings. This further simplifies the build logic.
35e99dfb15c00dab5d1d5627331e55c644e88bf7
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (ad91097)